{"uid":"cap_u-TePvNZRfA-LXSToRr6P","slug":"delx-commerce-evm-infinite-approval-flag-9daae5df","name":"Delx Commerce — EVM Infinite Approval Flag","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-infinite-approval-flag?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"approval_raw":{"type":"string","maxLength":8192,"description":"Approval Raw supplied to EVM Infinite Approval Flag; used only for this bounded calculation and processed in memory without retention."},"threshold_raw":{"type":"string","maxLength":8192,"description":"Threshold Raw supplied to EVM Infinite Approval Flag; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"approval_raw":"115792089237316195423570985008687907853269984665640564039457584007913129639935","threshold_raw":"115792089237316195423570985008687907853269984665640564039457584007913129000000","infinite_or_near":true},"schema":"delx/util-evm-infinite-approval-flag/v1","status":"advisory","evidence":{"retained":false,"input_sha256":"c407baee3569bcaed1d4681415cb497857f628ee6ff678daf4c9adbba50ae87d","external_calls":0},"operation":"evm_preflight:evm_infinite_approval_flag"}},"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_9TLG716WmTCcOOmWAXDet","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 approval amount is infinite or near-infinite by comparing a raw approval value against a threshold","exampleAgentPrompt":"Before I approve this token transfer, check whether the approval amount 115792089237316195423570985008687907853269984665640564039457584007913129639935 is infinite or near-infinite — compare it against a threshold of 115792089237316195423570985008687907853269984665640564039457584007913129000000.","exampleUseCases":[{"title":"Pre-transaction approval safety check","prompt":"I'm about to sign an EVM transaction and the approval_raw is 115792089237316195423570985008687907853269984665640564039457584007913129639935 — can you check if that's an infinite or near-infinite approval compared to a threshold of 115792089237316195423570985008687907853269984665640564039457584007913129000000?"},{"title":"DeFi agent preflight risk screening","prompt":"My DeFi agent is about to interact with a smart contract. The raw approval value is 100000000000000000000000000000000000000000000000000000000000000000000000000000 and I want to know if it crosses into infinite-approval territory — use a threshold of 115792089237316195423570985008687907853269984665640564039457584007913129000000."},{"title":"Wallet security audit for unlimited allowances","prompt":"Can you scan this approval amount — 79228162514264337593543950335 — and tell me whether it counts as infinite or near-infinite based on a threshold of 115792089237316195423570985008687907853269984665640564039457584007913129000000? I want to flag any dangerous unlimited allowances in my wallet."}],"resultDescription":"Returns a JSON object containing the original approval_raw and threshold_raw values, a boolean field 'infinite_or_near' indicating whether the approval is infinite or near-infinite, an advisory status, an operation identifier, and evidence metadata including whether the input was retained (always false), the SHA256 hash of the input, and the number of external calls made (always 0).","failureModes":["Invalid or non-numeric approval_raw causes a parsing error","Missing required fields returns a validation error","approval_raw or threshold_raw exceeding 8192 characters returns a size limit error","Malformed JSON input returns a 400 error","Payment failure (insufficient USDC or wrong network) blocks the request via x402"],"whenToPreferThis":"Use this endpoint when an AI agent or DeFi workflow needs a fast, verifiable, stateless check on whether an EVM token approval amount is infinite or near-infinite before executing a transaction. It is ideal for preflight safety screening in autonomous agent pipelines where no signup or API key management is desired and pay-per-result micropayment billing via x402 is acceptable. Prefer this over on-chain checks when you want a quick off-chain advisory result with cryptographic input evidence (SHA256 hash) and guaranteed no data retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:54:15.813Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-infinite-approval-flag-9daae5df"}