{"slug":"agent-data-tools-revmesh2074-workers-dev-base-allowance-31935b","title":"Check how much of a wallet's ERC-20 token a spender contract is approved to move","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/base-allowance","category":"code","description":"Check how much of a wallet's ERC-20 token a spender contract is approved to move on Base: the raw and formatted allowance, the token symbol and decimals, and whether the approval is unlimited. Use before a swap or deposit to see if an approve transaction is needed, and to audit a wallet for risky un","price_listed":0.002,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"owner":"0x4200000000000000000000000000000000000006","spender":"0x000000000022D473030F116dDEE9F6B43aC78BA3","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"owner":{"description":"Wallet address that holds the token (0x...)","examples":["0x4200000000000000000000000000000000000006"],"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"spender":{"description":"Address allowed to spend, usually a router or protocol contract (0x...)","examples":["0x000000000022D473030F116dDEE9F6B43aC78BA3"],"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"token":{"description":"ERC-20 token contract address on Base (0x...)","examples":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"}},"required":["token","owner","spender"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"allowance":{"type":"string"},"allowanceFormatted":{"type":"string"},"approved":{"type":"boolean"},"chain":{"type":"string"},"decimals":{"type":"number"},"owner":{"type":"string"},"spender":{"type":"string"},"symbol":{"type":"string"},"token":{"type":"string"},"unlimited":{"type":"boolean"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Check how much of a wallet's ERC-20 token a spender contract is approved to move on Base: the raw and formatted allowance, the token symbol and decimals, and whether the approval is unlimited. Use before a swap or deposit to see if an approve transaction is needed, and to audit a wallet for risky unlimited approvals.","last_updated":"2026-10-22T20:21:24.335Z","schemes":["exact"]}