Example inputPOST /api/v1/x402/caip2-parse
{
"caip2": "eip155:8453"
}
Portable intent card · chain-primitives-local
Parse CAIP-2 chain identifiers into namespace and reference parts. Call when normalizing multi-chain IDs from agent configs or wallets. Returns namespace, reference, and raw caip2 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.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/caip2-parse -m POST -H 'x-delx-source: intent-card-caip2-parse-api' --max-amount 0.001 -b '{"caip2":"eip155:8453"}'
{
"caip2": "eip155:8453"
}
{
"intent": "CAIP-2 Parse for an agent workflow",
"tool_name": "util_caip2_parse",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/caip2-parse-api.json"
}
Portable and inspectable