{"uid":"cap__-ZAaDqW8jQKkUZtPYWxI","slug":"delx-base-fee-budget-breakdown-47b864e8","name":"Delx Base Fee Budget Breakdown","description":"Base Fee Budget Breakdown: Base Fee Budget Breakdown breaks a Base transaction fee ceiling into gas, priority, and total values from bounded caller-supplied values without an external provider. Call Base Fee Budget Breakdown 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 Base Fee Budget Breakdown as versioned determin…","url":"https://api.delx.ai/api/v1/x402/base-fee-budget-breakdown","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_NguJn0s95dGx406CcmsV4","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 detailed breakdown of EVM transaction fee components (base, priority, ceiling) given gas limit and fee parameters in wei.","exampleAgentPrompt":"Break down the 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 — show me the base component, priority component, and fee ceiling.","exampleUseCases":[{"title":"EVM transaction preflight cost check","prompt":"Before I submit this transaction, can you break down the fee components for a gas limit of 50000, base fee of 800000000 wei, priority fee of 150000000 wei, and max fee per gas of 1200000000 wei? I want to see the ceiling, base component, and priority component separately."},{"title":"Gas budget optimization for agent workflow","prompt":"I'm batching several Base network transactions and need to understand the fee structure — given a gas limit of 100000, base fee of 1000000000 wei, priority fee of 200000000 wei, and max fee per gas of 1500000000 wei, what's the fee ceiling and how does it split between base and priority?"},{"title":"Verify fee parameters before signing","prompt":"Can you compute the fee breakdown for a transaction with gas limit 21000, base fee 950000000 wei, priority fee 50000000 wei, and max fee per gas of 1100000000 wei? I want to confirm the effective fee per gas and the total fee ceiling before I sign."}],"resultDescription":"Returns a JSON object with fee_ceiling_wei (maximum possible fee), base_component_wei (portion attributable to base fee), priority_component_wei (portion attributable to priority/tip fee), and effective_fee_per_gas_wei — all computed in memory with no data retained, along with audit evidence including input hash and external call count.","failureModes":["Invalid or non-numeric wei string values may cause parsing errors","Gas limit of zero or negative values may produce division errors or unexpected results","Max fee per gas lower than base fee may produce an invalid or zero ceiling result","Extremely large wei strings exceeding maxLength 8192 will be rejected","Missing required fields may return a schema validation error"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, in-memory breakdown of EVM transaction fee components (base, priority, ceiling) without executing a transaction or making external blockchain calls. Ideal for preflight checks in autonomous agent workflows on Base or other EVM-compatible networks. Prefer it over on-chain simulation when you already have the fee parameters and only need the arithmetic decomposition.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:13:14.919Z","isFirstParty":false}