{"uid":"cap_ojL-RxnmrtJJ7vWmgRPv0","slug":"delx-evm-approve-amount-check-49d5eb19","name":"Delx EVM Approve Amount Check","description":"EVM Approve Amount Check: EVM Approve Amount Check compares a proposed approval with an explicit spending requirement and cap from bounded caller-supplied values without an external provider. Call EVM Approve Amount Check 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 EVM Approve Amount Check as versioned deterministi…","url":"https://api.delx.ai/api/v1/x402/evm-approve-amount-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"maximum_raw":{"type":"string","maxLength":8192,"description":"Maximum Raw supplied to EVM Approve Amount Check; used only for this bounded calculation and processed in memory without retention."},"proposed_raw":{"type":"string","maxLength":8192,"description":"Proposed Raw supplied to EVM Approve Amount Check; used only for this bounded calculation and processed in memory without retention."},"required_raw":{"type":"string","maxLength":8192,"description":"Required Raw supplied to EVM Approve Amount Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"maximum_raw":"2500000","proposed_raw":"2000000","required_raw":"1500000","within_policy":true},"schema":"delx/util-evm-approve-amount-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"d87188aade137780468510b8b6cae7f77c249050b34d6baed135fecab217f4c4","external_calls":0},"operation":"evm_preflight:evm_approve_amount_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_BRtfEV4KXRPM5qCB33Tpe","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":"Validates whether a proposed EVM token approval amount falls within policy bounds defined by a maximum and satisfies a minimum required amount.","exampleAgentPrompt":"Before I submit this EVM token approval, can you check whether my proposed amount of 2000000 raw units is within policy — the maximum allowed is 2500000 and the minimum required is 1500000?","exampleUseCases":[{"title":"DeFi swap approval preflight","prompt":"I'm about to approve a DEX to spend my tokens — proposed amount is 5000000 raw units, the required minimum is 3000000, and the protocol caps at 8000000. Can you confirm this approval is within policy before I sign the transaction?"},{"title":"Agent-guarded allowance safety check","prompt":"My agent is setting up a recurring payment contract and needs to approve 1200000 raw tokens, but the maximum policy allows 1000000 and the minimum needed is 800000. Is that proposed approval amount within the allowed bounds?"},{"title":"Batch transaction preflight validation","prompt":"I'm queuing up several EVM approve calls and need to validate that each proposed amount of 750000 raw units satisfies the required 500000 minimum and doesn't exceed the 900000 maximum — can you run that check?"}],"resultDescription":"Returns a JSON object indicating whether the proposed raw approval amount is within policy (within_policy: true/false), echoes back the three input raw amounts, confirms no data was retained (retained: false), provides a SHA-256 hash of the input for auditability, and reports zero external calls were made during the computation.","failureModes":["Missing required fields (maximum_raw, proposed_raw, or required_raw) may result in a validation error or incomplete check","Non-numeric or malformed raw amount strings may cause parsing failures","Amounts exceeding maxLength of 8192 characters will be rejected","Network timeout or service unavailability returns a non-200 error"],"whenToPreferThis":"Use this endpoint when an AI agent needs a fast, auditable, in-memory preflight check on EVM token approval amounts before submitting an on-chain transaction — especially when you need a verifiable evidence trail (input hash, no retention) and want to enforce both a minimum required amount and a maximum policy cap in a single call. Prefer this over manual arithmetic when building automated DeFi workflows or governed agent pipelines that require traceable policy compliance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:55:24.509Z","isFirstParty":false}