{"uid":"cap_eiIEybJ2qG1ORv_LNwtww","slug":"ethereum-erc-20-token-metadata-lookup-7c8527aa","name":"Ethereum ERC-20 Token Metadata Lookup","description":"Call when an agent needs ERC-20 name, symbol, decimals, and totalSupply for one Ethereum mainnet token. Send token (example Circle USDC). Read-only eth_call on eip155:1. Not a contract, or no ERC-20 methods, errors. No spend. Send JSON {\"token\":\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\"}. Exact $0.002 USDC on Base. Try unpaid POST /v1/sandbox/eth-erc20-meta first.","url":"https://agentshelf.syntexa.ch/v1/eth-erc20-meta?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string","examples":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],"description":"ERC-20 contract on Ethereum mainnet (eip155:1). Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (Circle USDC). Returns name, symbol, decimals, and total supply. Read-only."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fUX0XXiaPC-sr1A8UXW11","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the name, symbol, decimals, and totalSupply for a given ERC-20 token contract on Ethereum mainnet via a read-only eth_call.","exampleAgentPrompt":"Can you look up the name, symbol, decimals, and total supply for the ERC-20 token at Ethereum address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?","exampleUseCases":[{"title":"Verify token decimals before transfer","prompt":"Before I send this token amount, can you check how many decimals the ERC-20 contract at 0xdAC17F958D2ee523a2206206994597C13D831ec7 uses on Ethereum mainnet?"},{"title":"Display token info in portfolio dashboard","prompt":"I want to show the full token name and symbol for 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 in my portfolio — can you pull the ERC-20 metadata for it?"},{"title":"Audit total supply of a new token","prompt":"Can you fetch the total supply and decimals for the ERC-20 contract at 0x6B175474E89094C44Da98b954EedeAC495271d0F so I can verify the token economics?"}],"resultDescription":"Returns a JSON object containing the ERC-20 token's name (string), symbol (string), decimals (integer), and totalSupply (large integer) as reported by the contract on Ethereum mainnet (eip155:1). If the address is not a valid ERC-20 contract or lacks these standard methods, an error is returned.","failureModes":["Address is not a deployed contract — returns error indicating no contract found","Contract exists but does not implement ERC-20 methods (name/symbol/decimals/totalSupply) — returns method-not-found or call revert error","Invalid Ethereum address format — returns validation error","Network or RPC failure — returns upstream error","Non-mainnet address provided — only eip155:1 is supported, other chains will error"],"whenToPreferThis":"Use this endpoint when you need standard ERC-20 metadata (name, symbol, decimals, totalSupply) for a single Ethereum mainnet token contract and want a simple, pay-per-call interface without managing your own RPC node or Ethereum provider credentials. Prefer this over general blockchain APIs when you only need these four fields and want minimal setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:48:45.982Z","isFirstParty":false,"canonicalSlug":"ethereum-erc-20-token-metadata-lookup-7c8527aa"}