Base ERC-20 balance
base_token_balanceERC-20 token balance of a wallet on Base (USDC, USDT, WETH or any token, via balanceOf): raw amount, decimals, symbol and the human-readable amount, live from the token contract. Use to check stablecoin or token holdings before a transfer or trade; for the native coin use base_balance. Both inputs are 0x addresses (40 hex characters); no contract or a non-ERC-20 contract returns 422, uncharged. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token": "<token>",
"address": "<address>"
},
"name": "base_token_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token: a ticker such as USDC, USDT, WETH or DAI, or the 0x ERC-20 contract address | |
| address | Yes | 0x wallet address |