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

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

List of accounts required:

  1. [writable] Freeze PDA to receive the funds (seeds ["freeze_escrow", destination_ata pubkey, candy guard pubkey, candy machine pubkey]).
  2. [writable] Token account holding the required amount.
  3. [writable] Associate token account of the Freeze PDA (seeds [freeze PDA pubkey, token program pubkey, nft mint pubkey]).
  4. [] SPL Token program.

Type declaration

Generated using TypeDoc