{"uid":"cap_6m7ti9rqq_LLYV9LWdDb4","slug":"wallet-approval-audit-base-f1442983","name":"Wallet Approval Audit Base","description":"Base ERC-20 approval check: returns the current allowance a spender holds over an owner's tokens, read live via allowance(owner, spender) on the token contract on Base. Takes token (0x + 40 hex), owner (0x + 40 hex), spender (0x + 40 hex). Query: token (ERC-20 contract, 0x + 40 hex), owner (0x + 40 hex), spender (0x + 40 hex).","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/wallet_approval_audit_base?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["token","owner","spender"],"properties":{"owner":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"0x + 40 hex"},"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"ERC-20 contract, 0x + 40 hex"},"spender":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"0x + 40 hex"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean"},"chain":{"type":"string"},"error":{"type":"string","description":"present when ok is false"},"method":{"type":"string"},"result":{"type":"string","description":"the uint256 as a decimal string"},"service":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0OEFl9pQee9dCTSDquwbQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current ERC-20 token allowance a spender holds over an owner's wallet on the Base network by calling allowance(owner, spender) on the token contract.","exampleAgentPrompt":"Can you check how many USDC tokens the address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 is approved to spend on behalf of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base?","exampleUseCases":[{"title":"DeFi approval security audit","prompt":"Check if the Uniswap router at 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24 has any approval to spend my USDC tokens at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — my wallet is 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base."},{"title":"Pre-swap allowance verification","prompt":"Before I submit this swap, can you verify that the Base DEX contract 0x2626664c2603336E57B271c5C0b26F421741e481 is approved to spend at least 500 USDT (token 0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2) from my wallet 0xAbCdEf1234567890AbCdEf1234567890AbCdEf12?"},{"title":"Revoke candidate discovery","prompt":"I want to know the current allowance that the contract 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD has over my DAI tokens at 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb, with my owner address being 0x1234567890abcdef1234567890abcdef12345678 on Base — I'm trying to figure out if I need to revoke it."}],"resultDescription":"Returns a JSON object with ok (boolean), result (the allowance as a uint256 decimal string — e.g. '115792089237316195423570985008687907853269984665640564039457584007913129639935' for unlimited approval or '0' if revoked), chain (e.g. 'base'), method, service name, and an error string if the call failed.","failureModes":["Invalid address format (not 0x + 40 hex) returns a validation error","Token contract address that is not a valid ERC-20 returns an error or zero","Network/RPC timeout causes ok=false with an error message","Non-existent contract address returns zero allowance or an error","Missing required query parameters (token, owner, or spender) causes a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a live, on-chain read of an ERC-20 token allowance specifically on the Base network. It is ideal for wallet security audits, pre-transaction approval checks, or DeFi permission monitoring on Base. Prefer it over generic Ethereum mainnet allowance checkers when the user's tokens and contracts are on Base (chain ID 8453).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:42:22.512Z","isFirstParty":false,"canonicalSlug":"wallet-approval-audit-base-f1442983"}