Delx Commerce Gas Cost Wei Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).
Computes the total gas cost in wei given gas used and gas price per unit
Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.
Returns a JSON object with schema identifier 'delx/util-gas-cost-wei/v1', the computed total cost in wei as a string (cost_wei = gas_used × gas_price_wei), along with the echoed inputs gas_used and gas_price_wei.
POSThttps://commerce.delx.ai/api/v1/x402/gas-cost-wei?utm_source=zero.xyzUse this endpoint when you need a quick, verifiable, pay-per-call computation of EVM gas costs in wei without building the multiplication logic yourself. Ideal for AI agents that need deterministic gas fee figures before submitting transactions or for cost logging and analytics pipelines. Prefer this over manual computation when you want a canonical schema-versioned response (delx/util-gas-cost-wei/v1) that is auditable and consistent across calls.
| Field | Type | Description |
|---|---|---|
| gas_used | integer | Input field: gas used. |
| gas_price_wei | string | Input field: gas price wei. |
{
"type": "json",
"example": {
"schema": "delx/util-gas-cost-wei/v1",
"cost_wei": "21000000000000",
"gas_used": 21000,
"gas_price_wei": "1000000000"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"