Is Holder Of Collection

Changed on

Check whether a wallet holds an NFT in a given NFT collection.

get/nft/gating/isHolderOfCollection

Request

  • Base URL
    https://api.blockvision.org/v2
  • URL
    https://api.blockvision.org/v2/nft/gating/isHolderOfCollection
  • Auth
    API 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

codeinteger
messagestring

Example response

{
  "code": 200,
  "message": "Success",
  "result": {
    "isHolderOfCollection": true
  }
}

Changes