Conditions
Conditions.ERC721Ownership
Conditions.ERC721Ownershipconst NFTOwnership = new Conditions.ERC721Ownership({
contractAddress: '0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D',
// check for ownership of NFT with token ID 5954
parameters: [5954],
});const NFTOwnershipConfig = {
contractAddress: '0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D',
standardContractType: 'ERC721',
chain: 1,
method: 'ownerOf',
parameters: [5954],
returnValueTest: {
comparator: '==',
value: ':userAddress',
},
};
const NFTOwnership = new Conditions.Condition(NFTOwnershipConfig);Conditions.ERC721Balance
Conditions.ERC721BalanceConditions.TimelockCondition
Conditions.TimelockConditionConditions.RpcCondition
Conditions.RpcConditionConditions.Condition
Conditions.ConditionNon Zero balance of ERC20 Token
Function call of nonstandard Contract
Last updated
Was this helpful?