{"uid":"cap_9lonWBXUyLBJvk0JmJEek","slug":"delx-commerce-evm-approve-amount-check-69fef820","name":"Delx Commerce — EVM Approve Amount 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-approve-amount-check?utm_source=zero.xyz","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_srcCJaTGHtaqXj3ky8Jmk","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 is within policy bounds relative to a required minimum and maximum cap","exampleAgentPrompt":"Before I sign this ERC20 approval, check if my proposed allowance of 2000000 raw units is valid — the required minimum is 1500000 and the maximum cap is 2500000.","exampleUseCases":[{"title":"DeFi agent pre-approval safety check","prompt":"I'm about to approve a DeFi contract to spend my tokens — can you verify that a proposed allowance of 2000000 raw units is within policy, given the required amount is 1500000 and the maximum allowed is 2500000?"},{"title":"On-chain transaction preflight validation","prompt":"Before my agent submits an on-chain approve() transaction, run a preflight check: proposed raw amount is 500000, required minimum is 1000000, and the maximum cap is 3000000 — does it pass policy?"},{"title":"Automated approval compliance in agent workflow","prompt":"As part of my automated token swap workflow, validate whether a proposed approval of 1500000 raw units meets the required threshold of 1500000 and stays under the maximum of 5000000."}],"resultDescription":"Returns a JSON object indicating whether the proposed approval amount passes policy (within_policy: true/false), echoes back all three input amounts, provides the operation name, schema version, and an evidence object containing a SHA256 hash of the input and confirmation that no data was retained and no external calls were made.","failureModes":["Missing or malformed required fields (maximum_raw, proposed_raw, required_raw) may cause validation errors","Non-numeric string values for raw amounts may produce unexpected results","proposed_raw exceeding maximum_raw will return within_policy: false","proposed_raw below required_raw will return within_policy: false","Network or payment failure via x402 protocol may prevent the call from completing"],"whenToPreferThis":"Use this endpoint when an AI agent needs a fast, verifiable, in-memory policy check on EVM token approval amounts before submitting an on-chain transaction — particularly when you want cryptographic proof (SHA256 input hash) that the check was performed without data retention or external calls. Ideal for DeFi automation workflows where auditability and no-signup micropayment access matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:05.707Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-approve-amount-check-69fef820"}