{"uid":"cap_Fg65-hGduoGxwq5uiqU1J","slug":"caip-2-chain-identifier-builder-cfb43270","name":"CAIP-2 Chain Identifier Builder","description":"Build CAIP-2 chain identifiers from namespace and reference. Call when emitting standard chain IDs for multi-chain agent tooling. Returns caip2 string 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/caip2-build","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"namespace":{"type":"string","description":"Input field: namespace."},"reference":{"type":"string","description":"Input field: reference."}}},"responseSchema":{"type":"json","example":{"caip2":"eip155:8453","schema":"delx/util-caip2-build/v1","namespace":"eip155","reference":"8453"}},"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_1QAwG4h5mnG-JQDDO_R9k","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":"Builds a CAIP-2 chain identifier string from a namespace and reference pair using local deterministic computation","exampleAgentPrompt":"Build me a CAIP-2 chain identifier using namespace 'eip155' and reference '1' so I can use it in our multi-chain agent tooling.","exampleUseCases":[{"title":"Ethereum mainnet chain ID for multi-chain agent","prompt":"I need the CAIP-2 identifier for Ethereum mainnet — namespace is 'eip155' and the reference is '1'. Can you build that string for me?"},{"title":"Polygon network identifier for cross-chain routing","prompt":"Build me a CAIP-2 chain ID for Polygon — the namespace is 'eip155' and the reference is '137'."},{"title":"Cosmos chain identifier for interoperability","prompt":"I need a CAIP-2 chain identifier for the Cosmos hub — namespace is 'cosmos' and reference is 'cosmoshub-4'."}],"resultDescription":"Returns a deterministic JSON object containing the caip2 string (e.g. 'eip155:1') formed by combining the provided namespace and reference with a colon separator, conforming to the CAIP-2 standard.","failureModes":["Missing namespace or reference field results in an error response","Malformed or empty string inputs may produce an invalid CAIP-2 identifier","Payment failure via x402 protocol will block the response"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, offline-safe method to produce CAIP-2 chain identifiers without any RPC calls, API keys, or external dependencies. Ideal for multi-chain agent tooling that must emit standard chain IDs on the fly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:15:30.977Z","isFirstParty":false}