{"uid":"cap__AmLELt4IVVNKpmcvymdH","slug":"delx-evm-chain-id-hex-normalize-b3f22788","name":"Delx EVM Chain ID Hex Normalize","description":"EVM Chain Id Hex Normalize: EVM Chain Id Hex Normalize converts decimal or hexadecimal chain identifiers into both forms from bounded caller-supplied values without an external provider. Call EVM Chain Id Hex Normalize before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for EVM Chain Id Hex Normalize as versioned deterministic…","url":"https://api.delx.ai/api/v1/x402/evm-chain-id-hex-normalize","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain_id":{"type":"string","maxLength":8192,"description":"Chain Id supplied to EVM Chain Id Hex Normalize; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"hex":"0x2105","decimal":8453},"schema":"delx/util-evm-chain-id-hex-normalize/v1","status":"pass","evidence":{"retained":false,"input_sha256":"be323df1e1cdb84b28aeaec9e86e6786c27277b63126d7361e444f5d6fce0979","external_calls":0},"operation":"evm_preflight:evm_chain_id_hex_normalize"}},"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_ZZ3wqCRgw4peIKoF0NC-Y","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":"Converts an EVM chain ID (in any numeric or hex form) to its canonical hex and decimal representations, verifying correctness in memory without data retention.","exampleAgentPrompt":"Can you normalize the EVM chain ID '8453' into its canonical hex and decimal forms for me? I need it formatted properly before I send a transaction on Base.","exampleUseCases":[{"title":"Pre-flight check for EVM transaction","prompt":"Before I submit this transaction, can you normalize chain ID 137 into its proper hex format so I know I'm targeting Polygon correctly?"},{"title":"Standardize chain ID for multi-chain agent","prompt":"I'm building a workflow that hits Arbitrum — can you convert chain ID 42161 to the canonical 0x-prefixed hex so my agent uses the right format?"},{"title":"Validate chain ID from user input","prompt":"A user just gave me '0xa4b1' as a chain ID — can you run it through your EVM chain ID normalizer to confirm the hex and decimal values are correct?"}],"resultDescription":"Returns a JSON object containing the normalized hex string (0x-prefixed) and decimal integer for the supplied chain ID, along with operation name, pass/fail status, and an evidence block confirming no data was retained and no external calls were made (includes SHA256 of the input).","failureModes":["Invalid or unparseable chain_id value returns an error status","chain_id exceeding 8192 characters is rejected","Malformed hex strings that cannot be parsed to an integer fail validation","Missing chain_id field in request body causes a bad request response"],"whenToPreferThis":"Use this endpoint when an AI agent needs to deterministically normalize or validate an EVM chain ID into its canonical hex and decimal forms — especially during EVM preflight checks before sending transactions or constructing payloads. Prefer it over ad-hoc string formatting when auditability matters, since the response includes an evidence block with input hash and zero-retention confirmation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:56:19.587Z","isFirstParty":false}