After trading on a DEX, revoke leftover ERC-20 token approvals by connecting the trading wallet to an approval checker, finding each DEX spender, and confirming a gas-paying revoke transaction until its allowance shows 0.
An allowance is the amount an ERC-20 token lets a spender contract move from your wallet. The EIP-20 Token Standard says that approve(spender, amount) sets this allowance and a later call replaces it. Revoking sets the amount to 0. An unused allowance remains available to the spender if its contract is later exploited.
The spender’s name may differ from the name on the trading screen. For a trade through cowswap, look for GPv2VaultRelayer as the spender; that tells you which approval to inspect.
Which approval should you revoke on each network?
Revoke each leftover token allowance granted to the DEX spender on every network where you traded.
-
Start with the trading wallet. Use the address that approved the token, and keep enough of the network’s native token in it to pay gas. On Ethereum, Arbitrum One and Base, that means ETH.
-
Open an approval checker. Select the network where you made the trade, then connect that wallet to Revoke.cash or the Etherscan Token Approval Checker. In Etherscan, select ERC-20 approvals.
-
Find the spender entry. Match the token and spender, and pay particular attention to unlimited allowances. Say you swapped the same token through two DEX contracts: each spender has its own allowance, so revoking one entry leaves the other active. Verify the spender address before acting on a name alone.
-
Revoke and confirm. Select Revoke for the entry and confirm the transaction in your wallet. The token contract records an approve call with an amount of 0; the transaction costs gas. Afterward, another trade using that token and spender will require a new approval.
-
Switch networks and repeat. Allowances exist separately on each chain. Revoking a token’s Ethereum approval leaves its Arbitrum One or Base approval active. Select each network where you traded, find its spender entry, and revoke any allowance you want cleared there.
-
Verify the result. After each transaction confirms, refresh the checker on that network. The token’s allowance to that spender should show 0.
Related questions
Whether to revoke now depends on whether another trade still needs the allowance.
Do I need to revoke approvals after every swap?
No. Revoking an unused allowance reduces future exposure, especially when it is unlimited, but it costs gas and means approving again for the next trade. Review what you still use and clear the entries you no longer need.
Does revoking an approval cancel open orders?
No. An order may remain open even when its token allowance is 0, although it cannot settle without the required allowance. Cancel an unwanted cowswap order through its order controls as a separate action; restoring the approval could make an open order fillable again.
Before you begin, make sure these requirements are met:
-
The trading wallet is ready: its address matches the one that granted the approval.
-
The right network is selected: the checker shows approvals for the chain where you traded.
-
Gas is available: the wallet holds enough native token to confirm each revoke.
What should you know before connecting and paying gas?
Use the genuine checker and review each wallet prompt before confirming it.
Is Revoke.cash safe to connect a wallet to?
Connecting lets the site read your address and request transactions; connection alone does not grant it a token allowance. Enter the site address yourself, inspect the revoke prompt, and never provide your recovery phrase.
How much gas does revoking an approval cost?
Each individual revoke needs an on-chain transaction. Its cost varies with the network, current gas price and token contract; check the wallet’s fee estimate before confirming.