TokenPayment: {
    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.

Type declaration

Generated using TypeDoc