{"uid":"cap_MlKGI_66PT2TAsyY42XBE","slug":"logicnodes-evm-token-allowance-a26d4fa7","name":"LogicNodes EVM Token Allowance","description":"Exact answers for AI agents: 40+ tools for EVM chains and Aptos, gas on 14 chains, never a guess. Free tier; pay per call in USDC (x402) on 13 networks.","url":"https://logicnodes.io/paid/v1/tools/evm_allowance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"block":{"type":"string","description":"\"latest\" (default), \"safe\", \"finalized\", or a decimal block number. Every value in the answer is read at this one block"},"chain":{"type":"string","description":"EVM CAIP-2 chain id such as eip155:8453, or a bare chain id number as a string. Chain names are refused."},"owner":{"type":"string","description":"0x + 40 hex digits (EIP-55 checksum enforced when mixed-case)"},"token":{"type":"string","description":"0x + 40 hex digits (EIP-55 checksum enforced when mixed-case)"},"spender":{"type":"string","description":"0x + 40 hex digits (EIP-55 checksum enforced when mixed-case)"}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"evm_allowance"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wq9CpH9p9F5ObpC4J4vwy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Queries the ERC-20 token allowance granted by an owner address to a spender address on any supported EVM chain at a specified block","exampleAgentPrompt":"Check the USDC allowance that my wallet 0xAbCd...1234 has granted to the Uniswap v3 router 0xE592...4bE8 on Base (eip155:8453) at the latest block.","exampleUseCases":[{"title":"Pre-swap approval check in DeFi bot","prompt":"Before I submit a swap on Uniswap on Base, check whether my wallet 0xABCD...1234 has already approved the Uniswap v3 router 0xE592...4bE8 to spend my USDC token at 0xA0b8...eB48 — use chain eip155:8453 and the latest block."},{"title":"Historical allowance audit at specific block","prompt":"What was the WETH allowance that 0xDead...Beef granted to the Aave lending pool 0x87870...4bb0 on Ethereum mainnet (eip155:1) at block 19500000? I need the exact figure from that block."},{"title":"Security check for suspicious approvals","prompt":"I'm worried about a phishing approval — can you look up how much of my DAI token at 0x6B17...4D6E the suspicious contract 0xBaD0...0001 is allowed to spend from my address 0xMy...Wallet on Polygon (eip155:137) at the finalized block?"}],"resultDescription":"Returns a JSON object with ok: true, the tool name 'evm_allowance', and the numeric allowance amount the spender is permitted to transfer on behalf of the owner for the specified ERC-20 token, as read at the requested block on the specified EVM chain.","failureModes":["Invalid or non-checksummed address returns a validation error","Chain name strings (e.g. 'base') rejected — must use CAIP-2 format like eip155:8453","Unsupported chain ID returns an error","Non-existent or non-ERC-20 token contract may return zero or error","Block number beyond chain tip returns an error","Malformed owner/spender/token hex addresses rejected","Payment failure (x402) results in 402 response before tool execution"],"whenToPreferThis":"Use this endpoint when you need an exact, on-chain ERC-20 allowance value for a specific owner/spender/token triple on an EVM chain. Prefer it over general RPC calls or blockchain explorers when you need a structured, agent-friendly JSON response with CAIP-2 chain support, historical block queries, and pay-per-call pricing with no API key setup. It is especially useful in DeFi automation workflows where you need to verify approvals before executing transactions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:03:05.938Z","isFirstParty":false,"canonicalSlug":"logicnodes-evm-token-allowance-a26d4fa7"}