Function createFeePayer

  • Creates a new fee payer

    Parameters

    • program: AtlasFeePayerIDLProgram

      atlas fee payer program

    • paymentAccount: AsyncSigner<unknown>

      the payment account for the fee payer, where tokens are to be sent to

    • feePayer: AsyncSigner<unknown>

      the fee payer

    • rates: PublicKey

      the fee payer rates

    • tokenVault: PublicKey

      the token vault for the fee payer

    Returns {
        feePayerAccount: PublicKey;
        instructions: InstructionReturn;
    }

    InstructionReturn and the fee payer account address

    • feePayerAccount: PublicKey
    • instructions: InstructionReturn

Generated using TypeDoc