Gatekeeper: {
    expireOnUse: boolean;
    gatekeeperNetwork: PublicKey;
}

Guard that validates if the payer of the transaction has a token from a specified gateway network — in most cases, a token after completing a captcha challenge.

List of accounts required:

  1. [writeable] Gatekeeper token account.
  2. [] Gatekeeper program account.
  3. [] Gatekeeper expire account.

Type declaration

  • expireOnUse: boolean

    Whether or not the token should expire after minting. The gatekeeper network must support this if true.

  • gatekeeperNetwork: PublicKey

    The network for the gateway token required

Generated using TypeDoc