Token2022Payment: {
    amount: bigint;
    destinationAta: PublicKey;
    mint: PublicKey;
}

Guard that charges an amount in a specified spl-token as payment for the mint.

List of accounts required:

  1. [writable] Token account holding the required amount.
  2. [writable] Address of the ATA to receive the tokens.
  3. [] Mint account.
  4. [] SPL Token-2022 program account.

Type declaration

Generated using TypeDoc