List token balances.
This method will use 20 Compute Units.
20
Last updated 2 months ago
Returns a list of token balances given the id. This represents the Token supply distribution across the network
Network entity ID in the format of shard.realm.num
shard.realm.num
"0.1.2"
OK
"1586567700.453054000"
const response = await fetch('https://mainnet.hedera.validationcloud.io/v1/YOUR_API_KEY/api/v1/tokens/{tokenId}/balances', { method: 'GET', headers: {}, }); const data = await response.json();
{ "timestamp": "1586567700.453054000", "balances": [ { "account": "0.15.2", "balance": 1000 } ], "links": { "next": "/api/v1/transactions?timestamp=lt:1657598275.517984411" } }