Jump to content
Block Press

Protocol, chain and market reporting

revokecash: Choose Between Revoke, Edit and Batch

revokecash options let you revoke an approval, cap an ERC-20 allowance or batch revoke several approvals, depending on whether you still use the dapp.

The Block Press Editors5 min read

revokecash: Choose Between Revoke, Edit and Batch

revokecash lets you revoke an approval fully, edit an ERC-20 allowance to a cap, or revoke several approvals in one batch. Each action changes an on-chain allowance or operator flag, so choose based on whether you still need the dapp’s access. For more on this question, revokecash explains how Revoke.cash approval management can help you review permissions and choose an action.

Actions

Revoke

Revoke.cash revokes an ERC-20 token allowance by calling approve(spender, 0), setting the permitted amount to zero. For an ERC-721 token, revoking an operator approval calls setApprovalForAll(operator, false), switching that operator’s approval flag off. Use revoke when you no longer need the contract to access the token or NFT.

Each revoke is a transaction. Before it, the selected ERC-20 spender has a nonzero allowance, or the NFT operator flag is true. After it, that allowance is zero or the flag is false; the token, spender and other approvals stay as they were. The change removes that approval’s exposure, but the dapp will need a fresh approval if you use it again.

Clearing an allowance to zero also clears its storage slot and earns a gas refund. That refund means a full revoke usually costs slightly less gas than editing the allowance to a smaller nonzero amount. The refund affects the transaction’s gas accounting; it does not turn a revoke into a fee-free action.

Edit allowance

Revoke.cash lets you replace an ERC-20 allowance with a cap you choose. Use this for a dapp you still use when its current allowance is larger than the amount you want it to spend. ERC-20 approve sets the spender’s permitted amount, and allowance reports the amount currently permitted.

Say you still use a dapp, but want to limit its access. Before editing, its spender has the existing allowance. After editing, that same spender has the cap you selected; the token and spender remain the same. The approval remains active up to the new amount, so the dapp can keep working within that cap. A nonzero allowance keeps its storage slot, which is why editing to a smaller amount usually costs slightly more gas than setting the amount to zero.

Editing is for ERC-20 allowances. An ERC-721 operator approval is a true-or-false permission, not an amount to reduce to a cap. To end that operator’s access, revoke it by setting the flag to false.

Batch revoke

Revoke.cash can batch revoke several selected approvals in one flow. Use batch revoking when you have identified multiple permissions you no longer need and want to clear them together rather than handle them one by one.

Before the batch, each selected approval has its current allowance or operator flag. Afterward, the selected ERC-20 allowances are zero and selected NFT operator flags are false; unselected approvals stay unchanged. The batch groups the revokes into one flow, but each selected permission still needs its on-chain state changed. Review the selected rows before authorizing, especially when you still use one of the associated dapps.

Filter and sort to find risky rows

Revoke.cash helps you find approvals to review by showing each token, spender and allowance for an address. Use the approval history as context, then filter or sort the rows to bring larger or unfamiliar permissions into view. The allowance amount helps identify ERC-20 access; the spender identifies which contract received it.

A large allowance is not by itself proof that a contract is malicious. It does mean the spender has permission up to that amount, so compare it with the dapp you intended to use and the access you still need. For an NFT, look for the operator approval flag rather than an ERC-20 allowance. Choose revoke for access you no longer need, and edit for a nonzero ERC-20 cap when the dapp remains in use.

Can I revoke approvals without connecting my wallet?

Revoke.cash supports entering an address to inspect its listed approvals; a wallet connection is needed to authorize an on-chain change from that wallet. An address lookup does not itself change an allowance or operator flag. Before authorizing a revoke or edit, confirm the wallet address and the approval you intend to change.

Does revokecash charge a fee to revoke?

Revoke.cash revocations require an on-chain transaction, which uses gas. The details provided here do not establish whether the service charges an additional fee, so that point remains unverified. A zero allowance earns a gas refund because its storage slot is cleared, making a full revoke usually slightly cheaper in gas than editing to a smaller nonzero amount.

Revoke.cash is an approval management tool for wallet permissions. The confirmed actions are revoke, edit an ERC-20 allowance, and batch revoke; the right choice depends on whether you need the dapp to retain access. Revoke.cash supported networks and any chain-specific behavior are outside this overview.

  • Enter the wallet address or connect the wallet whose approvals you want to review.
  • Identify the token, spender and allowance or NFT operator flag for each approval.
  • Revoke permissions you no longer need, edit ERC-20 allowances for dapps you still use, or batch revoke several selected approvals.
  • Review the resulting on-chain changes and make a fresh approval if you later need a revoked permission again.