Compare
A token-approvals API — revoke.cash for agents
revoke.cash is the go-to manual app for auditing and revoking token approvals. NodeFlare does the same job as an API: query any wallet's live ERC-20 approvals and revoke-risk across all 23 EVM chains — including the young chains consumer tools may not list — from a backend or an AI agent. Free API key, or pay per call in USDC over x402 with no account.
Not a rip-off of revoke.cash — the API layer under it. Use revoke.cash to clean up your own wallet by hand. Use NodeFlare to build approval-checking into an app or agent: audit any address programmatically, flag unlimited approvals, then broadcast the revoke through NodeFlare RPC.
revoke.cash vs NodeFlare
| Dimension | revoke.cash | NodeFlare |
|---|---|---|
| Interface | Web app — connect a wallet, click to revoke | REST API + MCP tool — call it from a backend or an agent |
| Access model | Manual, one human, one wallet at a time | Programmatic — any address, many chains, one call; no wallet connect |
| Payment | Free app; you pay gas to revoke | Free API key, or pay-per-call in USDC over x402 (no account) |
| Chain coverage | Majors and many EVM chains | All 23, including young chains (Robinhood, Plasma, Ink, Zircuit) consumer tools may not list |
| Revoking a token | One-click in the UI | You build approve(spender, 0) and broadcast it via NodeFlare RPC — the same tx, under your agent's control |
Approvals + revoke-risk in one call
# Every approval a wallet has granted, across chains — revoke-risk in one call
# (heavy: eth_getLogs scan — pay per call in USDC with no account)
curl -X POST https://rpc.nodeflare.app/data/allowances/x402 \
-H 'Content-Type: application/json' \
-d '{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"chains": ["eth", "base", "bnb"]
}'
# → per chain, the live approvals with unlimited flags:
# {
# "chains": [{
# "chain": "eth",
# "approvals": [{
# "token": "0xA0b8...eB48", "symbol": "USDC",
# "spender": "0x1111...1111",
# "allowance": "unlimited", "unlimited": true
# }]
# }]
# }
# Then revoke by sending approve(spender, 0) through NodeFlare RPC.Why the API version
Any address, no wallet-connect
Audit approvals for any wallet across many chains in one call — for security tooling, portfolio apps, or an agent watching a fleet of wallets.
Young chains covered
Own nodes for Robinhood Chain, Plasma, Ink, Zircuit, Soneium, BOB and Mode — where a consumer approvals dashboard is most likely blind.
Agent-native
An MCP tool and an x402 pay-per-call endpoint — a wallet-hygiene agent audits and pays in USDC with no account.
Token approvals API — FAQ
Is NodeFlare a replacement for revoke.cash?
For different jobs. revoke.cash is an excellent manual web app: connect your wallet, see your approvals, click revoke. NodeFlare is the programmatic version of the same data — an API (and MCP tool) that returns any address's ERC-20 approvals and revoke-risk across chains, so a backend or an AI agent can audit approvals and act on them without a human clicking through a UI. Use revoke.cash to clean up your own wallet by hand; use NodeFlare to build approval-checking into an app or an agent.
What does /data/allowances return?
For an address, the ERC-20 approvals it has granted across the chains you ask for: the token (symbol + contract), the spender it approved, the current allowance, and an unlimited flag on infinite approvals — the revoke-risk view of a wallet. Revoked or never-set approvals are dropped, so you see only live exposure. It runs across all 23 chains in one call.
How do I actually revoke an approval?
Revoking is a standard on-chain transaction: call approve(spender, 0) on the token (or the ERC-721/1155 equivalent). NodeFlare tells you which approvals exist and which are unlimited; your app or agent then builds that approve-to-zero transaction, has the owner sign it, and broadcasts it through NodeFlare RPC. NodeFlare never holds keys or signs — it surfaces the risk and relays the tx you sign.
Which chains does it cover that a consumer tool might not?
NodeFlare runs its own nodes for young chains — Robinhood Chain (4663), Plasma, Ink, Zircuit, Soneium, BOB, Mode — alongside Ethereum, Base, BNB Chain, Arbitrum, Optimism and Polygon. If your users hold and approve tokens on a new chain, their revoke-risk there is exactly where a consumer approvals dashboard is most likely to have a blind spot.
Can an AI agent use it?
Yes — it's the get_token_allowances tool in the NodeFlare MCP server (npm nodeflare-mcp and the remote endpoint at mcp.nodeflare.app/mcp), and it's an x402 pay-per-call endpoint. A wallet-hygiene or security agent can audit approvals across chains and pay per call in USDC with no account.
How much does it cost?
Approval scanning reads Transfer/Approval logs (eth_getLogs, a heavy method), so it runs on a NodeFlare API key or over x402 — about $0.001 per call, priced by the work done. No subscription, no seat.
Related
- The full Agent Intelligence API → — balances, portfolio, approvals, simulation, wallet reports, token safety
- Token Safety API → — screen a token for scam / honeypot risk before you approve it
- MCP for AI agents → — get_token_allowances as a tool in Claude, Cursor, ChatGPT
Build approval-checking into your app
Start with a free API key — 2,000,000 compute units per month, no card — or pay per call in USDC over x402.