GET
/
token
/
{chain}
/
{tokenAddress}
/
topHolders
curl --request GET \
  --url https://api-dex.chainstream.io/token/{chain}/{tokenAddress}/topHolders \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "walletAddress": "0x1234567890abcdef",
      "amount": "1000000000000000000",
      "amountInUsd": 1000000000000000000,
      "percentage": "100"
    }
  ],
  "totals": 1000000,
  "next": "eyJpZCI6MTAwfQ==",
  "hasNext": false,
  "hasPrev": false,
  "startCursor": "eyJpZCI6MTAwfQ==",
  "endCursor": "eyJpZCI6MjAwfQ=="
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chain
enum<string>
required

支持网络中列出的区块链名称

Available options:
sol,
base
tokenAddress
string
required

代币地址

Example:

"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"

Response

200 - application/json
data
object[]
required

代币持有者列表

totals
number

总项目数

Example:

1000000

next
string

下一页游标

Example:

"eyJpZCI6MTAwfQ=="

hasNext
boolean
default:false

是否有更多结果

hasPrev
boolean
default:false

是否有上一页

startCursor
object

当前页第一项的游标

Example:

"eyJpZCI6MTAwfQ=="

endCursor
object

当前页最后一项的游标

Example:

"eyJpZCI6MjAwfQ=="