Is Holder Of Collection
Changed onCheck whether a wallet holds an NFT in a given NFT collection.
get/nft/gating/isHolderOfCollection
Request
- Base URLhttps://api.blockvision.org/v2
- URLhttps://api.blockvision.org/v2/nft/gating/isHolderOfCollection
- AuthAPI key in header x-api-key
Query parameters
chainstring required
String - The chain name to get the NFT isHolderOfCollection for. Supports 'Ethereum' and 'BSC'. 'Omnichain' for all data on both chains.
walletstring required
String - The wallet address to check the NFT collection ownership.
contractAddressstring
String - The contract address of the NFT collection(ERC721 and ERC1155 supported) to check the NFT collection ownership.
collectionSluginteger
Integer - The OpenSea collection slug.
Response
200
Example response
{
"code": 200,
"message": "Success",
"result": {
"isHolderOfCollection": true
}
}Changes
- info
endpoint added
- info