base_erc20_balance
ERC20 token balance on Base. ERC20 balance of any wallet on Base, Ethereum, Arbitrum or Optimism (USDC by default) via balanceOf, with decimals applied. Deterministic, no LLM. Example output: {"chain":"base","wallet":"0x…","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","raw":"1500000","decimals":6,"balance":"1.5"}. Price: $0.0025 USDC on Base via x402 (pass the payment in _meta["x402/payment"]).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain: base (default), ethereum, arbitrum, optimism | |
| token | No | Token contract (default USDC) | |
| wallet | Yes | Wallet address |