Type alias TokenGateGuardSettings

TokenGateGuardSettings: { mint: PublicKey; amount: SplTokenAmount }

The tokenGate guard restricts minting to token holders of a specified mint account. The amount determines how many tokens are required.

This object defines the settings that should be provided when creating and/or updating a Candy Machine if you wish to enable this guard.

Type declaration

  • mint: PublicKey

    The mint address of the required tokens.

  • amount: SplTokenAmount

    The amount of tokens required to mint an NFT.

Generated using TypeDoc