{"uid":"cap_VZKfWk3XkJGyjlY_guaVT","slug":"delx-evm-infinite-approval-flag-18cc31df","name":"Delx EVM Infinite Approval Flag","description":"EVM Infinite Approval Flag: EVM Infinite Approval Flag flags an approval at or near a caller-supplied maximum uint threshold from bounded caller-supplied values without an external provider. Call EVM Infinite Approval Flag 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 Infinite Approval Flag as versioned determini…","url":"https://api.delx.ai/api/v1/x402/evm-infinite-approval-flag","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_hvcNBvNloXpQ5Nj33PW89","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 value is infinite (or near-infinite) by comparing it against a configurable threshold","exampleAgentPrompt":"Check if this EVM token approval amount is infinite or near-infinite — the approval raw value is 115792089237316195423570985008687907853269984665640564039457584007913129639935 and the threshold raw is 115792089237316195423570985008687907853269984665640564039457584007913129000000.","exampleUseCases":[{"title":"Pre-transaction safety check","prompt":"Before I sign this token approval transaction, check if the raw approval value 115792089237316195423570985008687907853269984665640564039457584007913129639935 is infinite or near-infinite compared to the threshold 1000000000000000000000000000000."},{"title":"DeFi protocol audit","prompt":"I'm auditing a DeFi protocol and need to know if the allowance 115792089237316195423570985008687907853269984665640564039457584007913129639935 qualifies as an infinite approval — use threshold 115792089237316195423570985008687907853269984665640564039457584007913129000000."},{"title":"Wallet risk dashboard flagging","prompt":"For our wallet risk dashboard, flag whether the on-chain approval raw value 79228162514264337593543950335 should be considered infinite given a threshold of 10000000000000000000000000000."}],"resultDescription":"Returns a JSON object with a boolean 'infinite_or_near' field indicating whether the approval meets or exceeds the threshold, plus the schema version, operation name, advisory status, and an evidence block containing a SHA-256 hash of the input and confirmation that no data is retained and no external calls were made.","failureModes":["Invalid or non-numeric approval_raw or threshold_raw values may cause a parse error","Strings exceeding the 8192-character maxLength will be rejected","Missing required fields returns a validation error","Very large numeric strings that cannot be parsed as big integers may fail"],"whenToPreferThis":"Use this endpoint when you need a fast, stateless, in-memory check of whether a raw EVM token approval value is effectively unlimited (infinite or near-infinite) relative to a given threshold — particularly for pre-transaction preflight checks or security audits. It is preferable to rolling your own big-integer comparison because it provides an evidence trail (SHA-256 of input, no-retention guarantee, zero external calls) suited for governed agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:07:57.615Z","isFirstParty":false}