What is Token Gating?
Token gating in blockchain restricts access to specific features, functions, or services in a decentralized network based on owning certain tokens. It creates exclusive ecosystems where users must hold a set amount of tokens to access privileges or resources.
Gating Rules:-
Mojito handles 4 cases of gatings rules such as Contract Address
, Contract Address with Token Id
,MetaData
,Onchain
we are saving the above kind of rules against the group.
Contracts Address:
To validate owners' NFTs contain contract address in the rule.
Contract Address with Token ID:
To validate owners' NFTs contain the contract address and token id in the rule.
MetaData:
To validate owners' NFTs contain the metadata key value in the rule.
Onchain:
Validate to call blockchain smart contract methods.