{"uid":"cap_Nnou-hRIjx29kEwRo8Eqw","slug":"delx-evm-token-balance-budget-check-8175a3e7","name":"Delx EVM Token Balance Budget Check","description":"EVM Token Balance Budget: checks caller-supplied raw token balance against transfer amount using only bounded caller-supplied values. Call when you need a bounded evm token balance budget result 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 Token Balance Budget as versioned deterministic JSON. Price: $0.001 USDC…","url":"https://api.delx.ai/api/v1/x402/evm-token-balance-budget","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount_raw":{"type":"string","maxLength":8192,"description":"Amount Raw supplied to EVM Token Balance Budget; used only for this bounded calculation and processed in memory without retention."},"balance_raw":{"type":"string","maxLength":8192,"description":"Balance Raw supplied to EVM Token Balance Budget; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"sufficient":true,"required_raw":"1500000","available_raw":"2500000","shortfall_raw":"0"},"schema":"delx/util-evm-token-balance-budget/v1","status":"pass","evidence":{"retained":false,"input_sha256":"3fbf7d06140147528cc36197d633495c2ce0bec6c1e9bdeada112e634ce3973c","external_calls":0},"operation":"evm_preflight:evm_token_balance_budget"}},"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_GJ8g9VKJSq1Y5FMisNtmp","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 a raw EVM token balance is sufficient to cover a required raw token amount, returning surplus or shortfall details.","exampleAgentPrompt":"Before submitting the swap, check if my available token balance of 2500000 raw units is enough to cover the required 1500000 raw units — tell me if it's sufficient and by how much.","exampleUseCases":[{"title":"Pre-transaction token budget gate","prompt":"I'm about to send an ERC-20 transfer that requires 800000 raw token units and my wallet shows a balance of 600000 raw units — can you check if I have enough and tell me the shortfall?"},{"title":"Agent spending limit preflight","prompt":"Before my agent executes the next step, verify that a balance of 5000000 raw units covers the required cost of 3750000 raw units and confirm it's a pass."},{"title":"DeFi swap feasibility check","prompt":"I want to do a token swap that needs 1000000 raw units — my current balance is 950000 raw. Check if that's sufficient and how much I'm short by."}],"resultDescription":"Returns a JSON object with a boolean 'sufficient' flag, the required_raw and available_raw amounts as strings, the shortfall_raw (zero if sufficient), a 'pass'/'fail' status, and an evidence block confirming no data is retained and no external calls were made.","failureModes":["Missing or non-numeric amount_raw/balance_raw causes a validation error","Strings exceeding 8192 characters are rejected","Malformed JSON input returns a 400-level error","Overflow or non-integer string values may cause computation failure"],"whenToPreferThis":"Use this endpoint when an AI agent needs a deterministic, in-memory preflight check to confirm an EVM token balance covers a required spend before executing an on-chain transaction or API call — especially when privacy matters since inputs are not retained and no external calls are made. Prefer this over custom logic when you need an auditable evidence block with input hashing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:57:10.480Z","isFirstParty":false}