Docs
搜索⌘ K
  • 主页
  • 关于 The Graph
  • 支持的网络
  • 协议合约
  • 子图
    • 子流
      • 代币 API
        • Hypergraph
          • AI Suite
            • 索引
              • 资源
                代币 API > EVM端点

                NFT Collection

                GET/nft/collections/evm/{contract}

                Provides single NFT collection metadata, total supply, owners & total transfers.

                路径参数

                参数描述值
                contract
                string

                Filter by NFT contract address

                  必填

                  查询参数

                  参数描述值
                  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

                  可能的反应

                  状态描述
                  200Successful Response
                  400Client side error
                  401Authentication failed
                  403Forbidden
                  404Not found
                  500Server side error
                  ⁠在GitHub上编辑⁠

                  NFT ActivitiesNFT Holders
                  测试此终点

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

                  1{2  "data": [3    {4      "token_standard": "ERC721",5      "contract": "0xbd3531da5cf5857e7cfaa92426877b022e612cf8",6      "contract_creation": "2021-07-22 12:26:01",7      "contract_creator": "0xe9da256a28630efdc637bfd4c65f0887be1aeda8",8      "name": "PudgyPenguins",9      "symbol": "PPG",10      "owners": 12258,11      "total_supply": 8888,12      "total_unique_supply": 8888,13      "total_transfers": 185128,14      "network_id": "mainnet",15      "spam_status": "not_spam"16    }17  ]18}
                  The GraphStatusTestnetBrand AssetsForum安全Privacy PolicyTerms of Service