Account balance by chain
getAccountBalanceBalance of an account across many blockchains, by 0x address or ENS name, via the Ankr Advanced API indexer.
Assets are ranked by USD value descending and only the top 20 are listed by default (a real wallet can hold 1000+ assets, over half of them priced at $0); tune that with maxTokens/minUsd, or call getBalances for structured JSON. Anything the indexer PRICED at zero or below minUsd is summarised as a dust count instead of being listed.
An asset with NO indexer price is not dust: it reads "USD value unknown" and ranks after every priced asset, so on a wallet holding more priced assets than maxTokens none appear here and the note says how many exist off-page. Unknown is not zero.
An implausibly large raw balance (typical of scam tokens minting max-uint) is flagged and its balance is withheld; never add it to a total.
Each line names the chain the asset is held on, which matters because omitting blockchains queries EVERY chain and interleaves the result across them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minUsd | No | Only list assets worth at least this many USD; the rest are summarised as dust. | |
| address | Yes | ||
| maxTokens | No | Max assets to list, sorted by USD value descending (default 20, max 100). | |
| blockchains | No | The blockchains to get the balance for. If not provided, the balance will be fetched for all blockchains. Specify only if you want to get the balance for a specific blockchain. |