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

                钱包地址代币余额

                GET/balances/evm/{address}

                EVM 余额端点提供了帐户当前代币持有情况的快照。 端点返回本地和ERC-20代币的当前余额,这些代币由一个指定的钱包地址在一个兼容的Etherum-blockchain上持有。

                路径参数

                参数描述值
                address
                string

                Filter by 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
                  contract
                  string

                  Filter by address

                    limit
                    integer

                    The maximum number of items returned in a single request.

                    • 默认值: 10
                    • 最小值: 1
                    • 最大值: 1000
                    page
                    integer

                    The page number of the results to return.

                    • 默认值: 1
                    • 最小值: 1
                    • 最大值: 767465558638

                    可能的反应

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

                    快速开始Historical Balances
                    测试此终点

                    1curl --request GET \2  --url 'https://token-api.thegraph.com/balances/evm/{address}?network_id=mainnet&limit=10&page=1' \3  --header 'Authorization: Bearer {token}'

                    1{2  "data": [3    {4      "block_num": 23383209,5      "last_balance_update": "2025-09-17 13:50:23",6      "contract": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",7      "amount": "1007231054304438990",8      "value": 1.007231054304439,9      "name": "Ethereum",10      "symbol": "ETH",11      "decimals": 18,12      "network_id": "mainnet"13    }14  ]15}
                    The GraphStatusTestnetBrand AssetsForum安全Privacy PolicyTerms of Service