{"uid":"cap_hiycArMamYzm80Q39kSaI","slug":"chain-id-to-network-name-43afa190","name":"Chain ID to Network Name","description":"Map common EVM chain_id integers to short network names. Call when labeling multi-chain configs without embedding a full chainlist fetch. Returns short name and known flag for the chain_id as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/chain-id-name","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain_id":{"type":"integer","description":"Input field: chain id."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-chain-id-name/v1","chain_id":8453,"chain_name":"base"}},"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_JOjcLxZJtvDt5uQe21l9o","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":"Maps an EVM chain_id integer to a short network name and known-chain flag using deterministic local lookup","exampleAgentPrompt":"What's the short network name for EVM chain ID 137 — is it a known chain?","exampleUseCases":[{"title":"Labeling multi-chain dashboard","prompt":"I'm building a dashboard that shows transactions across multiple chains — can you resolve chain IDs 1, 137, and 42161 to their short human-readable network names so I can label the rows properly?"},{"title":"Validating chain ID in config file","prompt":"My config file has chain_id 8453 — what network is that, and is it a recognized EVM chain I should trust?"},{"title":"Annotating cross-chain transaction logs","prompt":"I have a batch of transaction logs with raw chain IDs like 10 and 56 — what are the short network names for those so I can annotate the log entries?"}],"resultDescription":"Returns a deterministic JSON object containing the short network name (e.g. 'ethereum', 'polygon') and a boolean 'known' flag indicating whether the chain_id is a recognized EVM network in the local lookup table","failureModes":["Unknown or unrecognized chain_id returns known=false with a null or empty name field","Invalid input type (non-integer chain_id) may cause a validation error","Very new or obscure chains not yet in the local mapping will return unknown","Payment failure via x402 on Base will prevent the call from completing"],"whenToPreferThis":"Use this endpoint when you need a quick, zero-latency, no-API-key mapping from a chain_id integer to a human-readable EVM network name without making a live RPC call or fetching the full chainlist. Ideal for labeling configs, annotating logs, or displaying network names in UI without external dependencies. Prefer over chainlist.org API calls when you only need the short name and a known-flag and want deterministic, offline-style results for a fraction of a cent.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:48.912Z","isFirstParty":false}