{"uid":"cap_QM5hPgrW_ivfvDjQ81Anu","slug":"delx-commerce-evm-value-plus-fee-budget-calculator-d60fea5e","name":"Delx Commerce — EVM Value Plus Fee Budget Calculator","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-value-plus-fee-budget?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value_wei":{"type":"string","maxLength":8192,"description":"Value Wei supplied to EVM Value Plus Fee Budget; used only for this bounded calculation and processed in memory without retention."},"fee_ceiling_wei":{"type":"string","maxLength":8192,"description":"Fee Ceiling Wei supplied to EVM Value Plus Fee Budget; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"value_wei":"50000000000000000","required_wei":"50042000000000000","fee_ceiling_wei":"42000000000000"},"schema":"delx/util-evm-value-plus-fee-budget/v1","status":"pass","evidence":{"retained":false,"input_sha256":"c97960a555f73366664990411512e0dbb6ff9e788f1f8df5e0e28f4eb3bedeb6","external_calls":0},"operation":"evm_preflight:evm_value_plus_fee_budget"}},"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_ULq-fIo64q1pXPFuIfiR6","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 total required Wei amount by adding a transaction value (in Wei) and its associated fee ceiling, useful for EVM preflight budget checks before executing on-chain transactions.","exampleAgentPrompt":"Before I send 0.05 ETH (50000000000000000 wei) on-chain, calculate the total required wei I need including a fee ceiling of 42000000000000 wei so I know my wallet budget is sufficient.","exampleUseCases":[{"title":"Pre-send ETH transaction budget check","prompt":"I'm about to send 0.1 ETH on-chain — can you calculate the total wei I need including a fee ceiling of 84000000000000 wei so I can confirm I have enough in my wallet before submitting?"},{"title":"DeFi swap preflight validation","prompt":"Before executing a DeFi swap worth 200000000000000000 wei, compute the total required wei with a fee ceiling of 42000000000000 wei so my agent knows whether to proceed or abort."},{"title":"Agent wallet budget planning","prompt":"My autonomous agent needs to plan how much wei to reserve for a batch of EVM calls — each has a value of 10000000000000000 wei and a fee ceiling of 21000000000000 wei. What's the required total wei per call?"}],"resultDescription":"Returns a JSON object containing the original value_wei, the computed required_wei (value plus fee ceiling), and the fee_ceiling_wei, along with a 'pass' status, the operation name, and an evidence block confirming no external calls were made and inputs were not retained (only an input SHA-256 hash is recorded).","failureModes":["Invalid or non-numeric string provided for value_wei or fee_ceiling_wei — likely returns a validation error","Missing required fields — API may return a 4xx error indicating which parameters are absent","Overflow if extremely large Wei values are provided beyond safe integer bounds","Payment failure via x402 (USDC on Base/Solana) if the $0.001 micro-payment is not completed"],"whenToPreferThis":"Use this endpoint when an EVM agent or workflow needs a verifiable, tamper-evident preflight computation of total transaction budget (value + fee ceiling) before submitting an on-chain transaction, especially when auditability (SHA-256 evidence, no data retention) and pay-per-result micro-payment pricing matter. Prefer over manual arithmetic when operating in autonomous agent pipelines that require proof of computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:50.508Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-value-plus-fee-budget-calculator-d60fea5e"}