{"uid":"cap_hF8jNDBy_hdjmsT5v7KZb","slug":"delx-evm-native-balance-budget-check-77f6ae6f","name":"Delx EVM Native Balance Budget 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-native-balance-budget?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value_wei":{"type":"string","maxLength":8192,"description":"Value Wei supplied to EVM Native Balance Budget; used only for this bounded calculation and processed in memory without retention."},"balance_wei":{"type":"string","maxLength":8192,"description":"Balance Wei supplied to EVM Native Balance 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 Native Balance Budget; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"sufficient":true,"required_raw":"50042000000000000","available_raw":"100000000000000000","shortfall_raw":"0"},"schema":"delx/util-evm-native-balance-budget/v1","status":"pass","evidence":{"retained":false,"input_sha256":"215698e92004a17e3f8455c07967d1ebfb7bad3916a0afaafb6a0ce1a1fd5ad4","external_calls":0},"operation":"evm_preflight:evm_native_balance_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_Lo_g0FBDx4IonR3H_59Jx","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":"Checks whether an EVM wallet's native token balance is sufficient to cover a transaction value plus a fee ceiling, returning sufficiency, required amount, available amount, and any shortfall — all computed in-memory without data retention.","exampleAgentPrompt":"Before I send 0.05 ETH (50042000000000000 wei) from a wallet that holds 0.1 ETH (100000000000000000 wei), check if the balance is enough to cover the transaction plus a fee ceiling of 21000000000000 wei — tell me if it's sufficient and what the shortfall is if not.","exampleUseCases":[{"title":"Pre-send ETH sufficiency check","prompt":"I'm about to send 0.08 ETH from a wallet that currently holds 0.1 ETH. Can you check if the balance covers the transfer plus a 0.002 ETH max fee ceiling before I submit it on-chain?"},{"title":"DeFi swap preflight validation","prompt":"Before my agent executes a DEX swap worth 500000000000000000 wei, verify that the wallet balance of 600000000000000000 wei is sufficient after accounting for a fee ceiling of 42000000000000 wei — and show me the shortfall if it's not."},{"title":"Agent wallet budget guard","prompt":"My automated agent is about to trigger a transaction of 300000000000000 wei from a wallet with 250000000000000 wei balance and a fee ceiling of 21000000000000 wei. Run a budget check and tell me if it will fail due to insufficient funds."}],"resultDescription":"Returns a JSON object indicating whether the wallet balance is sufficient (boolean), the total required amount in wei, the available balance in wei, and the shortfall in wei if any. Also includes a verifiable evidence block with input hash, no external calls made, and no data retained.","failureModes":["Missing or malformed wei values (non-numeric strings) may cause computation errors","Extremely large wei strings exceeding maxLength 8192 will be rejected","If balance_wei, value_wei, or fee_ceiling_wei are omitted, the result may be indeterminate or default to insufficient","Network or payment failure via x402 protocol prevents the call from being processed"],"whenToPreferThis":"Use this endpoint when you need a stateless, privacy-preserving, verifiable preflight check for EVM native token (ETH, MATIC, etc.) balance sufficiency before executing an on-chain transaction. It is specifically designed for agent workflows that need to guard against failed transactions due to insufficient funds, without making any external blockchain calls or retaining input data. Prefer it over on-chain RPC calls when you already have the balance and want a pure budget computation with an auditable evidence hash.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:02.968Z","isFirstParty":false,"canonicalSlug":"delx-evm-native-balance-budget-check-77f6ae6f"}