Technical Definition

Revoke

To revoke is the act of resetting a token allowance to zero (or a lower amount) via an on-chain transaction, permanently removing a smart contract’s permission to transfer the specified tokens from your wallet.

By Crypto University Editorial
Token approvalallowancewallet drainer

Key Insight

It is the primary defense against lingering approval risks and wallet drainers. Regularly revoking unused approvals significantly reduces the attack surface for traders who interact with many dApps.

Common Misconceptions

Thinking that disconnecting a wallet in the browser also revokes on-chain permissions; delaying revokes until after an exploit is announced; attempting to revoke on the wrong network.

Detailed Explanation

How It Works: You submit a new approve(spender, 0) transaction (or use a dedicated revoke helper). Once confirmed, the allowance is zeroed. Some tools batch multiple revokes. Gas is required for each unique spender/token pair.

FAQs:
Does revoke cost gas? 

Yes.
Can I revoke NFTs the same way? 

Yes, for ERC-721/1155 approvals.
How often should I check? 

After any new dApp interaction and periodically.

In Practice

After finishing a yield-farming campaign, a trader uses Revoke.cash to set the farm contract’s USDC and ETH allowances back to zero, preventing any future unauthorized movement.

Dig Deeper