Type alias NftPaymentGuardMintSettings

NftPaymentGuardMintSettings: {
    mint: PublicKey;
    tokenAccount?: PublicKey;
}

The settings for the nftPayment guard that could be provided when minting from the Candy Machine.

See

NftPaymentGuardSettings for more information on the nftPayment guard itself.

Type declaration

  • mint: PublicKey

    The mint address of the NFT to pay with. This must be part of the required collection and must belong to the payer.

  • Optional tokenAccount?: PublicKey

    The token account linking the NFT with its owner.

    Default Value

    Defaults to the associated token address using the mint address of the NFT and the payer's address.

Generated using TypeDoc