Download OpenAPI specification:Download
API Documentation for Blockchain Integration Data Provenance Apis Enhanced Provenance Apis Asset Holdings
Returns all token balances for a specific address.
| address required | string (address) The address to retrieve balances for. |
| showZeroBalance | boolean (show_zero_balance) If true, includes denoms that currently have a balance of zero. This is useful for determining which tokens an address previously held but no longer holds. |
| pagination.cursor | string (cursor) A base64-encoded string representing the position in the dataset from which to start fetching results. This is typically the 'next_cursor' value returned from a previous response. |
| pagination.pageSize | integer <int32> (page_size) The number of records to return in this page. If not specified, a default will be used. |
{- "balances": [
- {
- "denom": "string",
- "amount": "string",
- "lastestBlockHeight": 0,
- "lastestBlockTime": "2023-01-15T01:30:15.01Z",
- "lastestTxHash": "string",
- "firstBlockHeight": 0,
- "firstBlockTime": "2023-01-15T01:30:15.01Z",
- "firstTxHash": "string"
}
], - "queryBlockHeight": 0,
- "queryBlockTime": "2023-01-15T01:30:15.01Z",
- "pagination": {
- "nextCursor": "string",
- "hasMore": true,
- "dataAccessInfo": {
- "tier": "string",
- "isLimited": true,
- "info": "string"
}
}
}Lists addresses holding a specific token denom.
| denom required | string (denom) The denomination to list holders for (e.g., nhash). |
| showZeroBalance | boolean (show_zero_balance) If true, includes addresses that currently have a balance of zero for the specified denom. This indicates the address held the denom at a previous block but no longer holds it. |
| pagination.cursor | string (cursor) A base64-encoded string representing the position in the dataset from which to start fetching results. This is typically the 'next_cursor' value returned from a previous response. |
| pagination.pageSize | integer <int32> (page_size) The number of records to return in this page. If not specified, a default will be used. |
{- "holders": [
- {
- "address": "string",
- "amount": "string",
- "lastestBlockHeight": 0,
- "lastestBlockTime": "2023-01-15T01:30:15.01Z",
- "lastestTxHash": "string",
- "firstBlockHeight": 0,
- "firstBlockTime": "2023-01-15T01:30:15.01Z",
- "firstTxHash": "string"
}
], - "queryBlockHeight": 0,
- "queryBlockTime": "2023-01-15T01:30:15.01Z",
- "pagination": {
- "nextCursor": "string",
- "hasMore": true,
- "dataAccessInfo": {
- "tier": "string",
- "isLimited": true,
- "info": "string"
}
}
}