{"name":"token-balance","description":"Reads a token balance for any wallet, on the same public-RPC backend as erc20-balance and exposed for agents searching for token-balance wording. Returns raw balance, hex balance, decimals, and formatted balance. Use it as a token balance API, ERC-20 balanceOf reader, or on-chain token holdings lookup.","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. Default 'base'; also ethereum, arbitrum, optimism, polygon, bsc, avalanche."},"block":{"description":"'latest' default, or hex/decimal block number."}},"required":["token","wallet"]},"input_example":{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","wallet":"0x8f5cb67b49555e614892b7233cfddebfb746e531","chain":"base"},"output_example":{"chain":"base","token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","wallet":"0x8f5cb67b49555e614892b7233cfddebfb746e531","balance_raw":"1234560000","balance":"1234.56"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}