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

              Balances

              GET/balances/svm

              Provides Solana tokens balances by token account address.

              查询参数

              参数描述值
              network_id
              string

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

              • 默认值: solana
              • 可选值: solana
              必填
              solana
              token_account
              string

              Filter by token account address

                mint
                string

                Filter by mint address

                  program_id
                  string

                  Filter by program ID

                  • 可选值: TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb, TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
                  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上编辑⁠

                  NFT SalesTransfers Events
                  测试此终点

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

                  1{2  "data": [3    {4      "block_num": 352305913,5      "datetime": "2025-07-10 05:14:43",6      "timestamp": 1752124483,7      "program_id": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",8      "token_account": "4ct7br2vTPzfdmY3S5HLtTxcGSBfn6pnw98hsS6v359A",9      "mint": "So11111111111111111111111111111111111111112",10      "amount": "30697740781078",11      "value": 30697.740781078,12      "decimals": 9,13      "network_id": "solana"14    }15  ]16}
                  The GraphStatusTestnetBrand AssetsForum安全Privacy PolicyTerms of Service