{"uid":"cap_TwRZCDOwBvNQ02p7844s3","slug":"delx-commerce-evm-allowance-budget-check-1bee0a59","name":"Delx Commerce — EVM Allowance 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-allowance-budget-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"required_raw":{"type":"string","maxLength":8192,"description":"Required Raw supplied to EVM Allowance Budget Check; used only for this bounded calculation and processed in memory without retention."},"allowance_raw":{"type":"string","maxLength":8192,"description":"Allowance Raw supplied to EVM Allowance Budget Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"sufficient":true,"required_raw":"1500000","available_raw":"2000000","shortfall_raw":"0"},"schema":"delx/util-evm-allowance-budget-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"86f8e28708672cfff8511f7fd84c12592b126a4ae90afbc3845c23a473821c16","external_calls":0},"operation":"evm_preflight:evm_allowance_budget_check"}},"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_FnAOCMj6jGfo6-YyMi7LC","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 token allowance is sufficient to cover a required spend amount, returning a pass/fail with shortfall details.","exampleAgentPrompt":"Before I submit this EVM transaction, check if an allowance of 2000000 raw units is enough to cover a required spend of 1500000 raw units — I need to know if there's a shortfall.","exampleUseCases":[{"title":"DeFi swap preflight allowance check","prompt":"I'm about to execute a token swap on an EVM DEX that requires 5000000 raw units. My current approved allowance is 3200000 raw units — can you check if that's enough and tell me how much I'm short?"},{"title":"Agent verifies budget before contract call","prompt":"Before my agent submits the staking transaction, verify that the approved allowance of 10000000 raw units is sufficient for the required 9500000 raw units, and confirm whether we're good to proceed."},{"title":"Automated approval sufficiency monitoring","prompt":"I have an allowance of 750000 raw units set for a recurring payment contract that requires 800000 raw units — check if it's sufficient and how much additional approval I'd need to grant."}],"resultDescription":"Returns a JSON object indicating whether the allowance is sufficient (boolean), the required and available raw amounts, the shortfall (zero if sufficient), a pass/fail status, and tamper-evident evidence including an input SHA-256 hash and a flag confirming no data was retained or sent to external services.","failureModes":["Missing or malformed required_raw or allowance_raw fields — API may return a validation error","Non-numeric string values passed as raw amounts causing parse failures","Values exceeding maxLength of 8192 characters rejected","Network or payment failure via x402 protocol resulting in no response"],"whenToPreferThis":"Use this endpoint when an AI agent or automated workflow needs to preflight-check an EVM token allowance before submitting a transaction, ensuring the approved budget covers the required spend without making any on-chain calls. Ideal for DeFi bots, smart contract agents, and transaction orchestrators that need a cheap, verifiable, stateless check with cryptographic evidence of inputs and no data retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:07.689Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-allowance-budget-check-1bee0a59"}