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. [] Associate token account of the NFT (seeds [payer pubkey, token program pubkey, nft mint pubkey]).
  3. [writable] Token account holding the required amount.
  4. [writable] Associate token account of the Freeze PDA (seeds [freeze PDA pubkey, token program pubkey, nft mint pubkey]).
  5. [optional] Authorization rule set for the minted pNFT.

Type declaration

Generated using TypeDoc