{"name":"erc20-balance","description":"Reads an ERC-20 token balance on-chain across any supported EVM chain, including Base, Ethereum, Arbitrum, Optimism, and Polygon. Co-fetches decimals to return both raw bigint and decimal-formatted balance. Supports historical block parameter. Useful for agent wallet introspection, payment reconciliation, treasury monitoring. Use it as a balanceOf reader, wallet balance lookup, or multi-chain ERC20 balance API.","price":"$0.005","method":"POST","input_schema":{"properties":{"token":{"type":"string","description":"ERC-20 contract address (0x...)."},"wallet":{"type":"string","description":"Wallet address to query (0x...)."},"chain":{"description":"Chain id or slug. 8453|'base' (default), 1|'ethereum', 42161|'arbitrum', 10|'optimism', 137|'polygon', 56|'bsc', 43114|'avalanche'."},"block":{"description":"'latest' default, or hex/decimal block number for historical reads."}},"required":["token","wallet"]},"input_example":{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","wallet":"0x8f5cb67b49555e614892b7233cfddebfb746e531","chain":"base"},"output_example":{"chain":"base","chain_id":8453,"token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","wallet":"0x8f5cb67b49555e614892b7233cfddebfb746e531","block":"latest","balance_raw":"1234560000","balance_hex":"0x49975f80","decimals":6,"balance":"1234.56"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}