Construct a new GatekeeperService instance
A solana connection object
The network that the gatekeeper belongs to
The gatekeeper's key
Global default configuration for the gatekeeper
Returns a gateway token owned by this owner, if it exists
PublicKey
boolean - whether to include revoked tokens (default: false)
Promise<GatewayToken | null>
Freeze the gateway token. The token must have been issued by this gatekeeper.
PublicKey
TransactionOptions
Promise<SendableDataTransaction
Issue a token to this recipient
PublicKey
TransactionOptions
Promise<SendableDataTransaction<GatewayToken | null>>
Revoke the gateway token. The token must have been issued by a gatekeeper in the same network
PublicKey
TransactionOptions
Promise<SendableDataTransaction
Unfreeze the gateway token. The token must have been issued by this gatekeeper.
PublicKey
TransactionOptions
Promise<SendableDataTransaction
Update the expiry time of the gateway token. The token must have been issued by this gatekeeper.
PublicKey
number
TransactionOptions
Promise<SendableDataTransaction
Updates a GatewayToken by building a transaction with the given txBuilder function, and returning the existing token with the given updated state value and (optional) expiryTime.
PublicKey
TransactionInstruction
The action being performed
TransactionOptions
Promise<SendableDataTransaction
Generated using TypeDoc
Encapsulates actions performed by a gatekeeper