loading prices...
prices by coingecko
onchain.search tools/free · no sign-up/links/about

home / safety / revoke-approval-builderlocal

Revoke Token Approval Builder

Build the exact transaction data to revoke an ERC-20 allowance or an NFT setApprovalForAll, without connecting your wallet to anything.

revoke-approval-builderready · runs in this browser

Runs locally in your browser. Nothing you type is sent anywhere.

safety tools · free · runs in your browser · no sign-up · no wallet

01 // about this tool

Revoke sites ask you to connect your wallet, which is exactly what you may not want after a scare. This builds the revoke call yourself: approve(spender, 0) for tokens, or setApprovalForAll(operator, false) for NFTs. You send it to the token contract with 0 value from any wallet that accepts hex data.

02 // how to use it

  1. Choose token or NFT.
  2. Paste the token contract and the spender you want to remove.
  3. Press Run, then check the data in the approval decoder before you send.

03 // faq

Does revoking get my tokens back?

No. It only stops future spending. Tokens already taken are gone.

Where do I find the spender?

In the original approval transaction on a block explorer, or in the token approval decoder if you have the data.

04 // related tools

all 11 safety tools →