Skip to main content

How to check and remove an EIP-7702 delegation

Since the Pectra upgrade in May 2025, an ordinary Ethereum account can hand its behavior over to a . That's called an EIP-7702 delegation. Wallets use it for useful features, like batching several actions into one transaction or letting someone else pay your . But one signature can also give a contract control over everything in your account.

This guide shows you how to check whether your account has a delegation, how to decide whether it's one you expect, and how to remove it.

What a delegation actually is

Think of it like a power of attorney. Your account keeps its address, its balance and its private key, but whenever it's called, or receives ETH, it runs the code of the contract you delegated to.

Three things are worth knowing up front:

  • It stays in place. A delegation doesn't expire. It remains until you replace it or clear it.
  • It can apply on more than one network. Some delegations are signed to work on every network that supports EIP-7702, not just the one you were using.
  • Your private key still works. Delegating doesn't lock you out. Your key can still replace or clear the delegation, as long as no one else has it.

Step 1: Check your account

  1. Search for your address on a block explorer, such as Blockscout (opens in a new tab) or Etherscan (opens in a new tab). Revoke.cash (opens in a new tab) also lists delegations across many networks in its "Delegations" tab, but it can't remove them.
  2. On the address page, look for a line showing a delegated address or "EIP-7702". If it's there, your account is delegated, and the name or address shown is the contract your account now runs.
  3. Repeat this on every network you use, including ones where your balance is empty right now. A delegation there can take whatever you send next. A delegation on one network won't show on another network's explorer.

If there's no delegation, there's nothing to remove on that network.

If you'd rather not rely on an explorer's labels: a delegated account's code is 23 bytes long, 0xef0100 followed by the 20-byte address of the contract it delegates to. A regular account with no delegation has no code at all. Developers can read this code directly with the eth_getCode JSON-RPC method.

Step 2: Decide whether you expect it

Ask yourself:

  • Did you knowingly turn on a "smart account" feature in your wallet? If so, your wallet should recognize the contract it set up.
  • Does the explorer name it after your wallet? Explorers label common wallet contracts by name. A name that matches your wallet is a good sign. An unnamed or unverified contract is not. ethereum.org also keeps a short list of known implementations that have been audited.
  • Did a website ask you to sign it? Under the EIP-7702 standard, apps aren't supposed to ask you to sign a delegation, and wallets aren't supposed to let them. A website asking for one is a red flag.

Every delegation needs your private key's signature. If you don't recognize the contract and you didn't set it up through your wallet, either you signed something without realizing what it was, or someone else has your key. If you can't rule out the second, go straight to Step 4. Removing the delegation won't help while an attacker still has your key.

Step 3: Remove the delegation

You remove a delegation by signing a new one that points to the zero address (0x0000000000000000000000000000000000000000). That clears your account's code and makes it a plain account again.

  1. Use the option in your wallet. Some wallets call it "remove delegation", "revoke" or "switch to a standard account". If yours doesn't offer it, ask your wallet provider. Only remove a delegation from inside your wallet: a website that offers to do it by asking for a signature is a scam.
  2. Don't top up a compromised account to pay the fee. A malicious delegate contract runs every time your account receives ETH, so it can be written to take that ETH straight away. If the account has no ETH for the fee and you can't safely add some, treat it as lost and go to Step 4.
  3. Confirm it worked. Look up your address again. The delegated address should be gone.
  4. Repeat on every affected network.

Step 4: When removing it isn't enough

Removing a delegation only fixes the delegation. Move your funds to a new wallet with a new recovery phrase if:

  • you don't remember signing anything that would set up this delegation,
  • you typed your recovery phrase or private key into any website or app,
  • funds keep leaving your account after the delegation is gone, or
  • you can't remove the delegation.

Then check your old account for token approvals too, using our guide on how to revoke smart contract access.

How to avoid this in the future

  • Never sign a delegation a website asks for. Use your wallet's own smart account features instead.
  • Read every signature request. If your wallet shows a contract you don't recognize, or says you're changing your account's code, stop.
  • Use a hardware wallet for anything of size. ethereum.org's hardware wallet guidelines say hardware wallets shouldn't expose arbitrary delegation and should use a list of trusted delegator contracts.

Want to learn more?
See our other guides

Frequently asked questions

Does removing a delegation cost money?

Yes, a small network fee, like any transaction. Whoever sends the transaction pays it.

Will removing a delegation affect my tokens or NFTs?

No. Your assets stay in your account. You only lose the features the delegated contract was providing.

I removed the delegation. Do I still need to revoke token approvals?

Possibly. A delegation and a token approval are different things, so check both.

Can someone delegate my account without my signature?

No. Every delegation must be signed with your account's private key. If you find one you didn't expect, either you signed something without realizing what it was, or your key is exposed.