{"uid":"cap_BK6BMfP-r-EGvpU_NA53n","slug":"delx-commerce-base-fee-budget-breakdown-2d675a48","name":"Delx Commerce — Base Fee Budget Breakdown","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/base-fee-budget-breakdown?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"gas_limit":{"type":"integer","description":"Gas Limit supplied to Base Fee Budget Breakdown; used only for this bounded calculation and processed in memory without retention."},"base_fee_wei":{"type":"string","maxLength":8192,"description":"Base Fee Wei supplied to Base Fee Budget Breakdown; used only for this bounded calculation and processed in memory without retention."},"priority_fee_wei":{"type":"string","maxLength":8192,"description":"Priority Fee Wei supplied to Base Fee Budget Breakdown; 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 Base Fee Budget Breakdown; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"fee_ceiling_wei":"31500000000000","base_component_wei":"21000000000000","priority_component_wei":"2100000000000","effective_fee_per_gas_wei":"1100000000"},"schema":"delx/util-base-fee-budget-breakdown/v1","status":"pass","evidence":{"retained":false,"input_sha256":"79ced49b4970917d82509380d058c73a99ed2722bdaf780f9439d2a0a39b4745","external_calls":0},"operation":"evm_preflight:base_fee_budget_breakdown"}},"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_k9EYe98cRmXFxm-4FE5cs","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 a breakdown of EVM transaction fee components (ceiling, base, priority) from gas limit and fee parameters on the Base network","exampleAgentPrompt":"Break down the gas fee budget for a transaction with a gas limit of 21000, base fee of 1000000000 wei, priority fee of 100000000 wei, and max fee per gas of 1500000000 wei — I want to see the fee ceiling, base component, priority component, and effective fee per gas.","exampleUseCases":[{"title":"Pre-flight gas budget check before sending ETH","prompt":"Before I send this transaction on Base, can you break down the fee budget? Gas limit is 21000, base fee is 1000000000 wei, priority fee is 100000000 wei, and max fee per gas is 1500000000 wei — I want to know the fee ceiling and how it splits between base and priority."},{"title":"Smart contract deployment fee decomposition","prompt":"I'm about to deploy a smart contract on Base with a gas limit of 500000, base fee of 2000000000 wei, priority fee of 200000000 wei, and max fee per gas of 2500000000 wei. Can you break down exactly how the fee budget is composed so I can decide if the priority tip is worth it?"},{"title":"Agent wallet cost estimation for batch transactions","prompt":"My agent is planning to send 100 transactions on Base, each with gas limit 21000, base fee 800000000 wei, priority fee 50000000 wei, and max fee per gas 1000000000 wei. Give me the fee ceiling and component breakdown per transaction so I can estimate total cost."}],"resultDescription":"Returns a JSON object with the computed fee ceiling in wei, the base component in wei, the priority component in wei, and the effective fee per gas in wei. Also includes metadata confirming no data was retained, the input hash, and zero external calls made during computation.","failureModes":["Invalid or missing gas_limit may cause a validation error or incorrect calculation","Malformed wei values (non-numeric strings) will likely result in a parsing error","Inconsistent fee parameters (e.g. max_fee_per_gas lower than base_fee + priority_fee) may produce unexpected or bounded results","Payment failure via x402 protocol will block the call before computation","Extremely large wei string values exceeding schema limits may be rejected"],"whenToPreferThis":"Use this endpoint when you need a fast, verifiable, in-memory computation of EVM gas fee components specifically for the Base network, with no data retention and cryptographic proof of input. Prefer this over manual calculation when you need the fee ceiling, base component, priority component, and effective fee per gas decomposed clearly before submitting a transaction. It is especially useful for AI agents doing pre-flight transaction cost estimation without needing a full node connection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:38.294Z","isFirstParty":false,"canonicalSlug":"delx-commerce-base-fee-budget-breakdown-2d675a48"}