{"uid":"cap_Pm90l13aGfjs8xs3Bl-3j","slug":"delx-commerce-evm-eip-1559-fee-check-03d142a1","name":"Delx Commerce EVM EIP-1559 Fee Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/evm-eip1559-fee-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"gas_limit":{"type":"integer","description":"Gas Limit supplied to EVM Eip1559 Fee Check; 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 Eip1559 Fee Check; used only for this bounded calculation and processed in memory without retention."},"max_priority_fee_per_gas_wei":{"type":"string","maxLength":8192,"description":"Max Priority Fee Per Gas Wei supplied to EVM Eip1559 Fee Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"fee_ceiling_wei":"42000000000000","fee_caps_ordered":true,"priority_fee_ceiling_wei":"2100000000000"},"schema":"delx/util-evm-eip1559-fee-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"09e6859a0243cf6df6f99d660a7735e0bfb2893802645cebf1d03fa659f21a65","external_calls":0},"operation":"evm_preflight:evm_eip1559_fee_check"}},"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_zJyznEXPP8-lHavKu75PW","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":"Validates and computes the fee ceiling for an EVM EIP-1559 transaction given gas limit, max fee per gas, and max priority fee per gas in wei.","exampleAgentPrompt":"Before I submit this Ethereum transaction, check whether my EIP-1559 fee parameters are valid: gas limit is 21000, max fee per gas is 50000000000 wei, and max priority fee per gas is 2000000000 wei — tell me the fee ceiling and whether the caps are correctly ordered.","exampleUseCases":[{"title":"Pre-flight check before ETH transfer","prompt":"I'm about to send an ETH transfer with a gas limit of 21000, max fee per gas of 40000000000 wei, and max priority fee of 1500000000 wei — can you run a fee check and tell me the fee ceiling and whether the caps are in the right order?"},{"title":"Validate smart contract interaction fees","prompt":"I'm calling a smart contract and I set gas limit to 200000, max fee per gas to 80000000000 wei, and priority fee to 3000000000 wei — please validate those EIP-1559 parameters and give me the fee ceiling in wei."},{"title":"Debug misordered EIP-1559 fee caps","prompt":"My transaction keeps failing — I think my fee caps might be ordered wrong. Gas limit is 65000, max fee per gas is 1500000000 wei, and max priority fee is 2000000000 wei. Can you check if those are correctly ordered and show me the fee ceiling?"}],"resultDescription":"Returns a JSON object with the computed fee_ceiling_wei (gas_limit × max_fee_per_gas_wei), priority_fee_ceiling_wei (gas_limit × max_priority_fee_per_gas_wei), and fee_caps_ordered (boolean indicating max_fee >= priority_fee), along with a status of 'pass' or 'fail', an SHA-256 hash of the input for auditability, and confirmation that no data was retained externally.","failureModes":["Invalid or non-integer gas_limit causes a validation error","max_priority_fee_per_gas_wei exceeds max_fee_per_gas_wei results in fee_caps_ordered: false","Malformed wei string (non-numeric) causes parse failure","Missing required fields may result in a 400 Bad Request","Payment failure via x402 protocol blocks the request"],"whenToPreferThis":"Use this endpoint when you need a fast, verifiable, pay-per-use EIP-1559 fee preflight check without setting up an account or running local computation. It is ideal for AI agents that need to validate gas fee parameters just before broadcasting an EVM transaction, especially when auditability (SHA-256 input hash, no data retention, zero external calls) is important. Prefer this over rolling your own calculation when you need the result to be independently verifiable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:58.416Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-eip-1559-fee-check-03d142a1"}