Get Contracts Of Owner

Changed on

Get the contracts held by an NFT collection owner.

get/nft/gating/getContractsForOwner

Request

  • Base URL
    https://api.blockvision.org/v2
  • URL
    https://api.blockvision.org/v2/nft/gating/getContractsForOwner
  • Auth
    API key in header x-api-key

Query parameters

chainstring required

String - The chain name to get the NFT getContractsForOwner for. Supports 'Ethereum' and 'BSC'. 'Omnichain' for all data on both chains.

ownerstring required

String - The address of an NFT owner to check the contracts.

pageSizeinteger

Integer - The number of records showing on each page. 20 by default and up to 50.

pageIndexinteger

Integer - The index of the page to retrieve. The first page is typically indexed as 1, and subsequent pages are numbered incrementally.

Response

200

codeinteger
messagestring

Example response

{
  "code": 200,
  "message": "Success",
  "result": {
    "contracts": [
      {
        "contractAddress": "0x0Cfb5d82BE2b949e8fa73A656dF91821E2aD99FD",
        "collectionSlug": "10ktf",
        "name": "10KTF",
        "totalBalance": 1,
        "standard": "erc721",
        "symbol": "10KTF",
        "description": "World renowned craftsman Wagmi-san, famous for the most grailed accessories, recently set up a shop in New Tokyo called 10KTF.\r\n\r\nDepending on the day, Wagmi-san might create accessories for Apes, Cats, Robots, Loots… it’s really up to whatever he’s in the mood for. A man of honor, he only makes objects for customers who own parent NFTs. His accessories are 1 of 1 digital objects that will only be created once.\r\n\r\nLife is good. But he’s still required to pay for protection to keep his shop open. It’s better than the alternative. After what happened last summer, he can’t let that happen again.\r\n\r\nVisit [10ktf.com](https://10ktf.com) to learn more.",
        "payoutAddress": "0x6f73f92cf0c920e645af34b0e4501911c42a718a"
      }
    ]
  }
}

Changes