{"uid":"cap_5TMeXHkkbbSmCH3EhaucI","slug":"token-metadata-e52248b0","name":"Token Metadata","description":"Read ERC-20 metadata on Base. POST {\"token\":\"0x...\"} and receive the name, symbol, decimals and total supply, with the supply given both raw and decimal-adjusted. Reports a clear error when the address is not a token contract.","url":"https://x402-echo-service.onrender.com/chain/token","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9JI6GZZiprZRgQlqlwUMQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reads ERC-20 token metadata (name, symbol, decimals, total supply) for a given contract address on Base.","exampleAgentPrompt":"What's the name, symbol, decimals, and total supply of the ERC-20 token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base?","exampleUseCases":[{"title":"Identify unknown token contract","prompt":"I found this contract address 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb on Base — can you tell me what token it is, its symbol, and how many decimal places it uses?"},{"title":"Verify token supply before DeFi interaction","prompt":"Before I interact with this DeFi protocol, can you pull the total supply (both raw and decimal-adjusted) and the decimals for the token at 0x4200000000000000000000000000000000000006 on Base?"},{"title":"Enrich token list with metadata","prompt":"I have a list of Base token addresses and I need the name, symbol, and decimals for 0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22 — can you fetch that metadata for me?"}],"resultDescription":"Returns the token's name (e.g. 'USD Coin'), symbol (e.g. 'USDC'), decimals (e.g. 6), raw total supply as a big integer string, and decimal-adjusted total supply as a human-readable number. If the address is not a valid ERC-20 contract, returns a clear error message.","failureModes":["Address is an EOA or non-ERC-20 contract — returns a descriptive error indicating the address is not a token contract","Invalid or malformed address format — returns a validation error","Token contract lacks standard ERC-20 metadata functions — partial or error response","Network or RPC timeout — service unavailable error","Zero-address or null input — error returned"],"whenToPreferThis":"Use this endpoint when you need to resolve ERC-20 token metadata (name, symbol, decimals, total supply) for a contract on Base specifically. Prefer it over generic blockchain explorers when you need structured, machine-readable output with both raw and decimal-adjusted supply in a single call. It also provides clear error differentiation for non-token addresses, making it useful for validation workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:44:52.493Z","isFirstParty":false}