What Does "Revoke Approval" Mean in Crypto?

When you approve a DeFi protocol to spend your tokens, that permission doesn't expire — it persists until you revoke it. This explains how approvals work, what revoking does, and where the real risk sits.
Lewis Jackson
CEO and Founder

When you interact with DeFi protocols — swapping tokens on Uniswap, depositing into a lending protocol, buying an NFT on OpenSea — you often sign an approval transaction first. This approval grants the protocol permission to access your tokens. Most users do this once and forget about it. What they don't realize is that the approval usually doesn't expire. It persists indefinitely, until you revoke it.

Revoking an approval means removing that permission. It doesn't undo anything you've already done — it just cancels the standing authorization for a contract to move your tokens going forward.

This matters because approvals accumulate. A wallet that's been active for a year in DeFi may have dozens of active approvals to dozens of different contracts. Each one represents a potential attack surface — if a protocol gets exploited, a malicious upgrade gets passed, or a contract turns predatory, any contract with an active approval over your wallet can access those tokens.

How Token Approvals Work

Most tokens on Ethereum and EVM-compatible chains follow the ERC-20 standard. Built into this standard is an approve function. When you call approve, you're setting a specific contract as an authorized spender for a specified amount of your tokens.

Here's what actually happens: You call approve(spenderAddress, amount) on the token contract. The token contract stores this authorization on-chain. The authorized contract can then call transferFrom on your behalf — up to the approved amount, at any point in the future — until you revoke it.

The classic example is a token swap. When you want to swap Token A for Token B on Uniswap, Uniswap doesn't take custody of your tokens directly. Instead, you first approve Uniswap's router contract to spend your Token A, then the swap contract pulls the tokens itself when the trade executes. This design keeps exchange logic separate from token logic — a reasonable architectural choice. But it creates a permission layer that most users never think about again after clicking "approve."

The Problem with Infinite Approvals

Many DeFi protocols request approval for the maximum possible token amount — effectively unlimited access. This is done for user convenience: approve once, interact freely forever. You'll often see this framed as saving on gas, so you don't have to approve every single transaction. That framing isn't wrong. But it's incomplete.

An infinite approval means the protocol can move your entire balance of that token at any time, subject to whatever logic lives in its smart contract. If that contract is later exploited, the attacker may be able to drain wallets that still have active approvals — even wallets that haven't touched the protocol in months or years.

This isn't theoretical. Several major DeFi exploits have included components where attackers leveraged existing approvals in wallets that hadn't been active for some time. The victim interacted with the protocol once, approved it, then moved on — and the exposure remained.

What Revoking Does — and Doesn't Do

Revoking an approval calls the same approve function with an amount of zero. This tells the token contract to set the authorized amount to 0, which cancels the permission. The contract can no longer call transferFrom on your behalf for that token.

It costs a small amount of gas — since you're writing a transaction to the blockchain — and is otherwise straightforward. You can always re-approve the contract later if you want to use it again.

Tools built specifically for this include Revoke.cash and Etherscan's Token Approval Checker. You connect your wallet, see a list of active approvals by contract and token, and revoke the ones you no longer want. Some wallets now include built-in revocation interfaces.

A few important limits:

  • It only applies to future transfers. If a contract has already moved your tokens — legitimately through a swap, or maliciously through an exploit — revoking doesn't undo that. What's moved is gone.
  • It's per-token, per-contract. Each approval is specific: Contract X is approved to spend Token Y. If you want to revoke Contract X's access to Token Y and Token Z, those are two separate revocations.
  • NFT approvals work differently. ERC-721 and ERC-1155 tokens have their own approval mechanisms. setApprovalForAll is particularly broad — it grants a contract permission over every NFT in a collection you own, not just a specific one.

Where the Friction Lives

Revoking costs gas. On Ethereum mainnet, that's real money during high-fee periods. On L2s, it's often cents. This is why many people let old approvals accumulate — the cost of cleanup doesn't feel worth it at any given moment. Whether that's reasonable depends on how much you have approved and how much you trust the contracts in question.

The other friction is visibility. Most wallets historically didn't surface your active approvals anywhere obvious. You'd have to know to look. That's slowly changing — Ledger, MetaMask, and others have added transaction simulation and approval visibility features. But full approval awareness isn't yet a default part of the wallet experience for most users.

What's Changing

Account abstraction (EIP-4337) introduces new patterns — session keys, per-transaction permission scoping — that could make the infinite-approval model obsolete over time. The idea is that a contract could be granted permission only for a specific transaction or session, then the permission expires automatically. But that's largely future state. Most DeFi today still runs on the classic ERC-20 approval model, and will for the foreseeable future.

Some protocols have shifted toward requesting exact-amount approvals by default — you approve the precise quantity needed for a specific transaction rather than an unlimited amount. This is a meaningful security improvement if adopted more widely. The tradeoff is gas and friction: you need to approve each transaction separately.

What Would Confirm Better Defaults

The clearest signal: protocols and wallets standardizing on exact-amount approvals rather than infinite ones as the default. If wallet UX increasingly enforces or recommends bounded approvals, that's a structural shift in how this risk is managed. Growing mainstream coverage of approval-related exploits — where the attack vector was a forgotten, standing permission from a previous interaction — would also accelerate that shift.

What Would Change This Picture

If the approval mechanism is redesigned at the token standard level — a future ERC that builds in automatic expiration or requires explicit confirmation per use — the standing-permission model becomes less relevant. That's theoretically possible but isn't near-term for established networks. More immediately: if gas costs on L1 fall substantially, routine revocation becomes cheap enough to treat as regular hygiene rather than an occasional project.

Timing Perspective

Now: If you've been active in DeFi for any meaningful period, you likely have active approvals from protocols you've stopped using. Checking and revoking unnecessary ones is low-urgency maintenance but real risk reduction. There's no emergency — but there's no reason to delay indefinitely either.

Next: Watch for wallet interfaces to surface approval management more prominently. This is already happening at the edges and will likely become standard.

Later: The approval model itself may evolve significantly as account abstraction matures. That's a multi-year shift, not something to plan around today.

What This Doesn't Cover

This is the mechanism explanation. It doesn't tell you which specific approvals to revoke — that depends on your situation, the protocols involved, and your own risk assessment. Revoking approvals reduces attack surface; it doesn't guarantee safety. A wallet can still be compromised through phishing, signing a malicious transaction directly, or any number of other vectors.

The tokens already moved aren't recoverable through revocation. And a wallet with zero active approvals can still lose funds. Approval management is one layer of wallet security, not the complete picture.

Related Posts

See All
Crypto Research
New XRP-Focused Research Defining the “Velocity Threshold” for Global Settlement and Liquidity
A lot of people looking at my recent research have asked the same question: “Surely Ripple already understands all of this. So what does that mean for XRP?” That question is completely valid — and it turns out it’s the right question to ask. This research breaks down why XRP is unlikely to be the internal settlement asset of CBDC shared ledgers or unified bank platforms, and why that doesn’t mean XRP is irrelevant. Instead, it explains where XRP realistically fits in the system banks are actually building: at the seams, where different rulebooks, platforms, and networks still need to connect. Using liquidity math, system design, and real-world settlement mechanics, this piece explains: why most value settles inside venues, not through bridges why XRP’s role is narrower but more precise than most narratives suggest how velocity (refresh interval) determines whether XRP creates scarcity or just throughput and why Ripple’s strategy makes more sense once you stop assuming XRP must be “the core of everything” This isn’t a bullish or bearish take — it’s a structural one. If you want to understand XRP beyond hype and price targets, this is the question you need to grapple with.
Read Now
Crypto Research
The Jackson Liquidity Framework - Announcement
Lewis Jackson Ventures announces the release of the Jackson Liquidity Framework — the first quantitative, regulator-aligned model for liquidity sizing in AMM-based settlement systems, CBDC corridors, and tokenised financial infrastructures. Developed using advanced stochastic simulations and grounded in Basel III and PFMI principles, the framework provides a missing methodology for determining how much liquidity prefunded AMM pools actually require under real-world flow conditions.
Read Now
Crypto Research
Banks, Stablecoins, and Tokenized Assets
In Episode 011 of The Macro, crypto analyst Lewis Jackson unpacks a pivotal week in global finance — one marked by record growth in tokenized assets, expanding stablecoin adoption across emerging markets, and major institutions deepening their blockchain commitments. This research brief summarises Jackson’s key findings, from tokenized deposits to institutional RWA chains and AI-driven compliance, and explains how these developments signal a maturing, multi-rail settlement architecture spanning Ethereum, XRPL, stablecoin networks, and new interoperability layers.Taken together, this episode marks a structural shift toward programmable finance, instant settlement, and tokenized real-world assets at global scale.
Read Now

Related Posts

See All
No items found.
Lewsletter

Weekly notes on what I’m seeing

A personal letter I send straight to your inbox —reflections on crypto, wealth, time and life.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.