Example inputPOST /api/v1/x402/chain-id-name
{
"chain_id": 8453
}
Portable intent card · chain-primitives-local
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.
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/chain-id-name -m POST -H 'x-delx-source: intent-card-chain-id-name-api' --max-amount 0.001 -b '{"chain_id":8453}'
{
"chain_id": 8453
}
{
"intent": "Chain ID → Network Name for an agent workflow",
"tool_name": "util_chain_id_name",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/chain-id-name-api.json"
}
Portable and inspectable