{
"amount": 1000000000000000000,
"direction": "wei_to_ether"
}
Portable intent card · chain-primitives-local
Wei Ether Convert API for agents
Convert between wei and ether using fixed 1e18 scaling without RPC — call when converting wei↔ether with fixed 1e18 scaling. Use for chain input hygiene without live RPC—adjacent to OneSource-class small chain reads, but static/local only so rights and margin stay clear. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results are advisory; the caller owns authorization and production controls.
Intent to transaction
One command, attributed.
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/wei-ether-convert -m POST -H 'x-delx-source: intent-card-wei-ether-convert-api' --max-amount 0.003 -b '{"amount":1000000000000000000,"direction":"wei_to_ether"}'
{
"intent": "Wei Ether Convert for an agent workflow",
"tool_name": "util_wei_ether_convert",
"price_usdc": "0.003",
"machine_url": "https://commerce.delx.ai/intents/wei-ether-convert-api.json"
}
Portable and inspectable