{"uid":"cap_rkRhQb9no-JHPelLAqF-a","slug":"evm-gas-cost-ceiling-calculator-e202285a","name":"EVM Gas Cost Ceiling Calculator","description":"EVM Gas Cost Ceiling: EVM Gas Cost Ceiling calculates a worst-case native fee from gas limit and fee cap from bounded caller-supplied values without an external provider. Call EVM Gas Cost Ceiling before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for EVM Gas Cost Ceiling as versioned deterministic JSON. Price: $0.001 USDC vi…","url":"https://api.delx.ai/api/v1/x402/evm-gas-cost-ceiling","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"gas_limit":{"type":"integer","description":"Gas Limit supplied to EVM Gas Cost Ceiling; used only for this bounded calculation and processed in memory without retention."},"max_fee_per_gas_wei":{"type":"string","maxLength":8192,"description":"Max Fee Per Gas Wei supplied to EVM Gas Cost Ceiling; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"gas_limit":21000,"fee_ceiling_wei":"42000000000000"},"schema":"delx/util-evm-gas-cost-ceiling/v1","status":"pass","evidence":{"retained":false,"input_sha256":"19061cf987ca5901459acb5789767ddf5192ab7d107094a556164762a62044c7","external_calls":0},"operation":"evm_preflight:evm_gas_cost_ceiling"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7zyLFbe8GnqecvPYYftHp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the maximum possible gas cost (fee ceiling) in wei for an EVM transaction given a gas limit and max fee per gas, without retaining any input data.","exampleAgentPrompt":"Before I submit this Ethereum transaction, calculate the gas cost ceiling — my gas limit is 21000 and my max fee per gas is 2000000000 wei.","exampleUseCases":[{"title":"Preflight check before ETH transfer","prompt":"I'm about to send an ETH transfer with a gas limit of 21000 and a max fee per gas of 2000000000 wei — what's the absolute maximum this transaction could cost me in wei?"},{"title":"DeFi swap max fee budgeting","prompt":"My DeFi swap uses a gas limit of 150000 and I've set max fee per gas at 5000000000 wei. Can you calculate the gas cost ceiling so I know if I have enough ETH to cover the worst case?"},{"title":"Agent transaction safety guard","prompt":"Before my agent submits any on-chain call, check that the gas cost ceiling for a gas limit of 80000 and max fee per gas of 3500000000 wei stays within acceptable bounds."}],"resultDescription":"Returns a JSON object containing the computed fee ceiling in wei, the echoed gas limit, a SHA-256 hash of the inputs for auditability, confirmation that no data was retained, and a count of zero external calls — providing a tamper-evident, bounded gas cost estimate.","failureModes":["Missing or invalid gas_limit integer returns a validation error","max_fee_per_gas_wei exceeding string length of 8192 characters is rejected","Non-numeric or malformed max_fee_per_gas_wei string causes a parse error","Extremely large values may produce arithmetic overflow errors"],"whenToPreferThis":"Use this endpoint when an AI agent needs a safe, auditable, stateless upper-bound on EVM transaction fees before submitting on-chain — especially when you need evidence of no data retention (via SHA-256 input hash and retained:false flag). Prefer over on-chain gas estimation RPC calls when you want a simple, paid, governed micro-service with no external calls and verifiable evidence.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:10:58.987Z","isFirstParty":false}