{"success":true,"data":{"id":"svc_erc20_info_01","slug":"erc20-info","name":"ERC20 Token Info","description":"Read an ERC20 token contract on Base or Ethereum mainnet: name, symbol, decimals, total supply, and optionally the balance of one holder address. Verifies that the address is a contract. Params: token (contract address, required), chain ('base' default or 'ethereum'), holder (optional address).","category":"data","endpoint":"https://agentsvc.io/api/v1/proxy/erc20-info","price_usdc":0.002,"latency_p99_ms":2000,"input_schema":{"type":"object","required":["token"],"properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC20 contract address"},"chain":{"type":"string","enum":["base","ethereum"],"default":"base"},"holder":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Optional address whose token balance to return"}}},"output_schema":{"type":"object","required":["chain","token","symbol","decimals"],"properties":{"chain":{"type":"string"},"chain_id":{"type":"integer"},"token":{"type":"string"},"name":{"type":["string","null"]},"symbol":{"type":["string","null"]},"decimals":{"type":["integer","null"]},"total_supply":{"type":["string","null"]},"total_supply_raw":{"type":["string","null"]},"holder":{"type":["object","null"],"properties":{"address":{"type":"string"},"balance":{"type":"string"},"balance_raw":{"type":"string"}}},"explorer":{"type":"string"},"checked_at":{"type":"string","format":"date-time"}},"example":{"chain":"base","chain_id":8453,"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","name":"USD Coin","symbol":"USDC","decimals":6,"total_supply":"4422012871.202378","total_supply_raw":"4422012871202378","holder":{"address":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","balance":"0.009","balance_raw":"9000"},"explorer":"https://basescan.org/token/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","checked_at":"2026-10-06T12:00:00.000Z"}},"is_active":true,"provider":"agentsvc.io","tags":["erc20","token","base","ethereum","onchain"],"method":"POST","example_input":{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","chain":"base","holder":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"},"price_atomic":"2000","price_display":"$0.002 USDC","try_url":"https://agentsvc.io/api/v1/try/erc20-info","try_limit_per_day":3,"info_url":"https://agentsvc.io/api/v1/services/erc20-info","page_url":"https://agentsvc.io/services/erc20-info","curl_example":"curl -X POST https://agentsvc.io/api/v1/proxy/erc20-info -H \"Content-Type: application/json\" -d '{\"token\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\"chain\":\"base\",\"holder\":\"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27\"}'","status":{"ok":true,"latency_ms":447,"checked_at":"2026-10-06T15:02:14.340Z"}},"payment":{"protocol":"x402","x402_versions_accepted":[1,2],"scheme":"exact","network":"eip155:8453","network_v1":"base","chain_id":8453,"asset":"USDC","asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","asset_decimals":6,"eip712_domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"pay_to":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","request_header_v2":"PAYMENT-SIGNATURE","request_header_v1":"X-PAYMENT","requirements_v2":"base64 JSON in the PAYMENT-REQUIRED response header of the 402","requirements_v1":"JSON body of the 402 (accepts[0])","receipt_header":"PAYMENT-RESPONSE (and X-PAYMENT-RESPONSE): base64 JSON with transaction hash","accounts_required":false,"api_keys_required":false,"settlement":"per call, on-chain, after the service succeeded. Failed calls are never charged."},"links":{"catalog":"https://agentsvc.io/api/v1/services","openapi":"https://agentsvc.io/openapi.json","llms_txt":"https://agentsvc.io/llms.txt","llms_full_txt":"https://agentsvc.io/llms-full.txt","agents_md":"https://agentsvc.io/AGENTS.md","skill_md":"https://agentsvc.io/SKILL.md","status":"https://agentsvc.io/api/v1/status","docs":"https://agentsvc.io/docs","mcp_server":"https://agentsvc.io/mcp-server.mjs","discovery":"https://agentsvc.io/.well-known/x402","agent_card":"https://agentsvc.io/.well-known/agent-card.json"}}