{"uid":"cap_7VLYKmHsiqQoDpwhv7NU4","slug":"delx-commerce-evm-token-balance-budget-check-b0d2e7ea","name":"Delx Commerce — EVM Token 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-token-balance-budget?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount_raw":{"type":"string","maxLength":8192,"description":"Amount Raw supplied to EVM Token Balance Budget; used only for this bounded calculation and processed in memory without retention."},"balance_raw":{"type":"string","maxLength":8192,"description":"Balance Raw supplied to EVM Token Balance Budget; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"sufficient":true,"required_raw":"1500000","available_raw":"2500000","shortfall_raw":"0"},"schema":"delx/util-evm-token-balance-budget/v1","status":"pass","evidence":{"retained":false,"input_sha256":"3fbf7d06140147528cc36197d633495c2ce0bec6c1e9bdeada112e634ce3973c","external_calls":0},"operation":"evm_preflight:evm_token_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_Lz4t0g3mjlErLAHf-6bZn","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 a raw EVM token balance is sufficient to cover a required raw amount, returning a pass/fail result with shortfall details.","exampleAgentPrompt":"Before submitting this EVM token transfer, check if my available balance of 2500000 raw units is enough to cover the required 1500000 raw units — I need to know if it's sufficient, and if not, by how much I'm short.","exampleUseCases":[{"title":"Pre-trade token sufficiency check","prompt":"I'm about to execute a DeFi swap that requires 5000000 raw token units — can you verify whether my current balance of 4200000 raw units is enough, and tell me the shortfall if it's not?"},{"title":"Agent payment preflight guard","prompt":"Before my agent submits an on-chain payment of 1000000 raw USDC, check if the wallet balance of 2500000 raw units covers it so we don't waste gas on a doomed transaction."},{"title":"Budget validation for multi-step workflow","prompt":"My automated workflow needs 750000 raw tokens for the next step — verify that my available balance of 800000 raw units is sufficient before we proceed."}],"resultDescription":"Returns a JSON object indicating whether the balance is sufficient (boolean), the required and available amounts in raw units, the shortfall (0 if sufficient), a pass/fail status, and a tamper-evident evidence block including input SHA-256 hash and confirmation that no data was retained and no external calls were made.","failureModes":["Malformed or non-numeric string values for amount_raw or balance_raw may cause a validation error","Excessively large strings beyond the 8192 character limit will be rejected","Missing required fields returns an error response","Network or payment (x402) issues may prevent the call from completing"],"whenToPreferThis":"Use this endpoint when you need a lightweight, privacy-preserving, verifiable computation to check whether an EVM token balance covers a required spend amount before committing to a blockchain transaction. Prefer this over on-chain balance reads when you already have the raw values in memory and need a fast, auditable preflight result with cryptographic evidence of non-retention. It is especially useful for AI agents orchestrating DeFi workflows or on-chain payments that need a trustless sanity check without storing sensitive financial data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:46.560Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-token-balance-budget-check-b0d2e7ea"}