Docs
खोज⌘ K
  • Home
  • The Graph के बारे में
  • समर्थित नेटवर्क
  • Protocol Contracts
  • सबग्राफ
    • सबस्ट्रीम
      • टोकन API
        • Hypergraph
          • AI Suite
            • Overview
            • Indexer टूलिंग
              • GraphTally Guide
              • Supported Network Requirements
              • Chain Integration Process Overview
              • नई श्रृंखला एकीकरण
              • संसाधन
                टोकन API > EVM Endpoints

                NFT Holders

                GET/nft/holders/evm/{contract}

                Provides NFT holders per contract.

                पथ पैरामीटर

                पैरामीटरDescriptionमान
                contract
                string

                Filter by NFT contract address

                  आवश्यक

                  क्वेरी पैरामीटर

                  पैरामीटरDescriptionमान
                  network_id
                  string

                  The Graph Network ID for EVM networks https://thegraph.com/networks

                  • डिफ़ॉल्ट मान: mainnet
                  • स्वीकृत मान: arbitrum-one, avalanche, base, bsc, mainnet, matic, optimism, unichain
                  आवश्यक
                  mainnet

                  संभावित प्रतिक्रियाएँ

                  स्थितिDescription
                  200Successful Response
                  400Client side error
                  401Authentication failed
                  403Forbidden
                  404Not found
                  500Server side error
                  ⁠GitHub पर संपादित करें⁠

                  NFT CollectionNFT Items
                  इस एंडपॉइंट का परीक्षण करें

                  1curl --request GET \2  --url 'https://token-api.thegraph.com/nft/holders/evm/{contract}?network_id=mainnet' \3  --header 'Authorization: Bearer {token}'

                  1{2  "data": [3    {4      "token_standard": "ERC721",5      "address": "0x29469395eaf6f95920e59f858042f0e28d98a20b",6      "quantity": 534,7      "unique_tokens": 534,8      "percentage": 0.06008100810081008,9      "network_id": "mainnet"10    }11  ]12}
                  The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service