Example inputPOST /api/v1/x402/gwei-to-wei
{
"gwei": 1.5
}
Portable intent card · chain-primitives-local
Convert gas prices from gwei into wei integer strings for EVM transactions. Call when you hold gas price in gwei and need wei for eth_gasPrice-style fields or tx builders. Returns wei as a decimal integer string plus input gwei 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/gwei-to-wei -m POST -H 'x-delx-source: intent-card-gwei-to-wei-api' --max-amount 0.001 -b '{"gwei":1.5}'
{
"gwei": 1.5
}
{
"intent": "Gwei to Wei Converter for an agent workflow",
"tool_name": "util_gwei_to_wei",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/gwei-to-wei-api.json"
}
Portable and inspectable