Compare
A token-approvals API — revoke.cash for agents
Ask any wallet what it has approved, and to whom, in one call — live from our own nodes across 18 EVM chains. revoke.cash is where a person goes to check their own approvals by hand; NodeFlare provides programmatic approval checks for the agent or dashboard doing it for thousands of wallets.
Different tools for different tasks. 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 18, including young chains (Robinhood, Ink, Zircuit) in the supported-chain registry |
| 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
# This initial request returns HTTP 402 with payment requirements.
# Use an x402-capable client to pay and retry; see /docs/x402.
curl -X POST https://rpc.nodeflare.app/data/allowances/x402 \
-H 'Content-Type: application/json' \
-d '{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"chains": ["eth", "base", "bnb"]
}'
# Illustrative response after a successful paid request:
# {
# "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, 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 18 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 should I check before integrating?
NodeFlare runs its own nodes for young chains — Robinhood Chain (4663), Ink, Zircuit, Soneium, BOB, Mode — alongside Ethereum, Base, BNB Chain, Arbitrum, Optimism and Polygon. Check the current chain coverage and scanning limits of both tools for the wallet you need to assess.
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 — 3,000,000 compute units per month, no card — or pay per call in USDC over x402.