Jump to content
Cryptons

Crypto protocols, markets and policy

Why Does My Wallet Say Approve When Revoking? Check First

Why does my wallet say approve when revoking a token allowance? MetaMask may show approve(spender, 0); verify the raw allowance is zero before signing.

Cryptons Newsroom4 min read

Why Does My Wallet Say Approve When Revoking? Check First

MetaMask may ask you to approve a token when you revoke its allowance because ERC-20 revocation commonly calls the same approve method with a raw amount of zero. Confirm that the requested allowance is zero before signing.

The method name can sound like a new grant, so read the requested allowance change before you approve the transaction.
  • Method: The request may say approve because that method sets the allowance.
  • Amount: A raw allowance of zero revokes the spender’s remaining permission.
  • Mismatch: A positive or unlimited amount is not a revocation request.

Why does MetaMask show “approve” for a revocation?

MetaMask can display the contract method, approve, rather than describing the intended change as “revoke.” In ERC-20, approve sets how many tokens a spender may use on your behalf. Calling it with zero sets that allowance to zero; calling it with a positive amount sets a positive allowance. The method name alone does not tell you which change the transaction requests.

The ERC-20 specification defines approve as setting the spender’s allowance, and allowance(owner, spender) returns the remaining permission for that owner and spender. Since the same method handles both positive and zero values, a wallet prompt that says “approve” can be expected during revocation. The value and the spender are what you need to inspect.

In an illustrative revokecash request, your wallet has allowed a contract to spend 500 tokens. The revocation transaction calls approve for that spender with a raw allowance of zero. Once confirmed, that contract should have no remaining allowance from this approval. The token balance in your wallet is a separate matter: allowance describes permission to spend, not how many tokens you hold.

A raw zero stays zero regardless of the token’s decimals. Decimals affect how a positive raw amount is displayed as a human-readable token quantity; they cannot turn the integer zero into a positive allowance. If a wallet or transaction preview shows an unfamiliar decimal format, use the raw requested value where it is available. A positive raw value is still positive, even if its displayed token amount looks tiny.

What should you verify before signing?

Before signing, confirm that the request targets the intended network, token and spender, and sets the allowance to raw zero. A mismatch in any of those details means the transaction may affect a different approval or grant permission instead of removing it.

  • Network: Confirm the chain matches the approval you want to change; token contracts and allowances are network-specific.
  • Token: Make sure the request refers to the ERC-20 token whose approval you intend to revoke.
  • Spender: Match the contract address to the spender shown for that allowance. A different spender has a separate permission.
  • Allowance value: Confirm the raw amount is zero. Reject a positive amount, including one described as unlimited.

If the wallet cannot decode the request or the transaction details do not expose a clear amount and spender, do not sign based on the word “approve” alone. Reject the request and inspect the approval again. If you are using revokecash to manage approvals, use revokecash as part of checking the token, spender and requested zero allowance against the approval you mean to remove.

After signing, wait for the transaction to confirm, then verify that it succeeded and that the current allowance for the same owner, spender, token and network is zero. A submitted transaction can fail, so the signing prompt is not proof that permission changed. If the transaction succeeded but the allowance remains positive, check that you queried the same network and spender before trying again.

Contact the wallet or tool’s support team if the request remains undecoded, the displayed details conflict with the raw transaction, or a confirmed transaction does not produce the expected allowance change. Include the network, token and spender addresses and the transaction hash so they can identify the exact request.

Related questions

Why does revoking an allowance cost ETH?

Revoking an ERC-20 allowance is an onchain state change, so the transaction consumes native gas on the network. The token being revoked does not pay that gas; you need the network’s native asset to submit the transaction.

Can I revoke an allowance without owning the token?

Yes. A zero token balance still permits revocation because the transaction changes the spender’s allowance, which is separate from your token balance. You still need native gas to submit the change.