Holders of a token
getTokenHoldersIdentify who holds an ERC-20 token on one chain, sorted by balance in descending order, and get the total holder count.
Instructions
Who holds an ERC-20 token on one chain, largest balance first, plus the total holder count. balance already has decimals applied, so do not divide it again. For one wallet's tokens use getBalances.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"contractAddress": "<contractAddress>"
},
"name": "getTokenHolders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain, from listChains aapiChains | |
| pageSize | No | Holders per page (default 20) | |
| pageToken | No | nextPageToken from the previous page | |
| contractAddress | Yes | ERC-20 token contract address |