Get balance
get_balanceRead the native HYPE balance for an address and optional ERC-20 balances on Elysium; token failures are reported individually without failing the call.
Instructions
Native HYPE balance of an address, plus optional ERC-20 balances. A failure for one token is reported in that token's entry and does not fail the whole call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | Block to read at. Defaults to latest. An integer block number or a tag: latest, safe, finalized, earliest, pending. | |
| tokens | No | ERC-20 token contract addresses to read balances for (max 20). | |
| address | Yes | Account or contract whose balances to read. 0x followed by 40 hex characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| native | Yes | ||
| tokens | Yes | ||
| address | Yes |