{"uid":"cap_zF_yHF7ZfpZHbXFT7K6GE","slug":"phantom-api-optimism-token-metadata-90a83b77","name":"Phantom API — Optimism Token Metadata","description":"Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.","url":"https://phantom-api-omega.vercel.app/api/optimism/token/metadata","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"contractAddress":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k-3EtNGJAX8LLZ4x_mhSx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns on-chain token metadata (name, symbol, decimals, etc.) for a given ERC-20 contract address on the Optimism network.","exampleAgentPrompt":"What's the name, symbol, and decimals for the token at Optimism contract address 0x4200000000000000000000000000000000000042?","exampleUseCases":[{"title":"DeFi dashboard token labeling","prompt":"I have an Optimism contract address 0x7F5c764cBc14f9669B88837ca1490cCa17c31607 — can you look up the token name and symbol so I can label it properly on my dashboard?"},{"title":"Token verification before swap","prompt":"Before I do a swap, can you check the metadata for this Optimism contract 0x4200000000000000000000000000000000000006 — I want to confirm the symbol and decimals are what I expect?"},{"title":"Portfolio tracker enrichment","prompt":"I'm building a list of Optimism tokens and I need the full metadata for the contract at 0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4 — name, symbol, and decimals please."}],"resultDescription":"Returns on-chain metadata for the specified ERC-20 token contract on Optimism, typically including token name, symbol, number of decimals, and potentially other contract-level attributes.","failureModes":["Invalid or malformed contract address returns an error","Contract address is not an ERC-20 token (e.g. EOA or non-token contract) may return empty or error","Optimism RPC node unavailability causes timeout or 5xx error","Payment not fulfilled via x402 protocol results in 402 Payment Required","Non-existent contract address returns null metadata or error"],"whenToPreferThis":"Choose this endpoint when you specifically need ERC-20 token metadata on the Optimism (OP Mainnet) network and want a pay-per-call model without API key management. It's ideal for lightweight lookups where you only need token name/symbol/decimals rather than transaction history or balance data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:54:38.756Z","isFirstParty":false}