Token Balance
token_balanceGet the ERC-20 token balance a wallet holds on Base, with human-readable and raw values. Provide the token contract and holder addresses.
Instructions
How much of an ERC-20 token a wallet holds on Base, returned both human-formatted (using the token's decimals) and raw. Pass the token contract address and the holder address, both 0x + 40 hex. Example: USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ERC-20 contract address on Base: 0x followed by 40 hex characters. | |
| address | Yes | Wallet address whose balance to read: 0x followed by 40 hex characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | ||
| holder | No | ||
| symbol | No | ||
| balance | No | ||
| network | No | ||
| decimals | No | ||
| provenance | No | Where this answer came from. served_at is when Datakoot answered (UTC); upstream lists the official sources consulted. Datakoot may serve a briefly cached copy, so the source's own observation can be older than served_at. | |
| balance_raw | No |