{"uid":"cap_nrjKXqgGjY3_pc3kPUKT-","slug":"phantom-api-linea-token-metadata-737b7567","name":"Phantom API — Linea 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/linea/token/metadata?utm_source=zero.xyz","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_GYuRkHAid7AgEq6CdTANs","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":"Fetches token metadata (name, symbol, decimals, etc.) for a given ERC-20 or token contract address on the Linea blockchain network.","exampleAgentPrompt":"What token is deployed at contract address 0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4 on the Linea network — can you fetch its name, symbol, and decimals?","exampleUseCases":[{"title":"Identify unknown Linea token","prompt":"I found this contract address on Linea: 0x7d43aabc515c356145049227cee54b608342b0a2 — can you tell me what token it is, including its name and symbol?"},{"title":"DeFi portfolio token enrichment","prompt":"I have a list of Linea contract addresses in my wallet and I need to know the token names and decimal places for each one so I can display them properly in my portfolio tracker."},{"title":"Smart contract token verification","prompt":"Before I interact with this Linea contract at 0x5a4b3c9d1e2f0a7b8c6d4e5f3a2b1c0d9e8f7a6b, can you pull its token metadata to confirm it's actually the USDC token and not something else?"}],"resultDescription":"Returns on-chain token metadata for the specified Linea contract address, typically including the token name, symbol, number of decimals, and potentially total supply or other ERC-20 standard fields.","failureModes":["Invalid or malformed contract address returns an error","Contract address exists but is not a token contract (e.g. a plain wallet or non-ERC20 contract) may return empty or error","Linea network congestion or RPC unavailability may cause timeouts","Non-existent contract address returns not found or null metadata","Payment failure via x402 protocol blocks the request"],"whenToPreferThis":"Use this endpoint when you specifically need token metadata for a contract deployed on the Linea network (Linea Mainnet or Linea testnet). Prefer this over generic blockchain explorers when you need programmatic, pay-per-call access without API key registration, or when building agents that need fast on-chain data for Linea specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:50:45.224Z","isFirstParty":false,"canonicalSlug":"phantom-api-linea-token-metadata-737b7567"}