UNSWEEP › Guides

EIP-7702 sweeper delegation: what it is and how to check for one

This guide is informational. Funds already moved out of a wallet usually cannot be recovered. We never ask for any key in chat, email or DM and we never write first. The only key a rescue uses is the one of the already-compromised wallet, typed by you on unsweep.com and used only inside your browser.

What EIP-7702 changes

EIP-7702 (part of the Pectra upgrade) lets a normal externally owned account (EOA) point to a smart contract. The owner signs an authorization; once it is included in a transaction, the account's code becomes the 23-byte marker 0xef0100 followed by the 20-byte address of the delegate contract. From then on, calls to the account run the delegate's code in the context of the account, with the account's balance and tokens.

Legitimate uses include batching several actions in one transaction or gas sponsorship. The same mechanism is dangerous if the delegate was chosen by an attacker.

How a sweeper uses it

How to check an address (read-only)

You only need the public address. Nothing has to be signed.

  1. Call eth_getCode(address, "latest") on any node of the network.
  2. If the result is 0x, the account has no code and no delegation.
  3. If the result starts with 0xef0100 and is 23 bytes long, the account is delegated. The remaining 20 bytes are the delegate contract address.
  4. Look that delegate contract up in a block explorer. Check whether its source is verified, who deployed it and whether it was something you intentionally set up.

Example with a command line JSON-RPC request:

curl -s -X POST <RPC_URL> -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_getCode","params":["0xYOUR_ADDRESS","latest"]}'

Or use the free read-only check on this site for Base and Ethereum mainnet. It reports the delegation target, nonce, balances and open approvals.

Signs that a delegation is malicious

What to do

Limits

Clearing or replacing a delegation requires a signature from the compromised key, and the attacker can do the same. Removing a delegation does not reverse transfers that already happened. Assets that are locked, staked or vesting in the account may sometimes be moved out in a single sponsored transaction, but there is no guarantee and timing matters.

Last updated: 2026-11-26. Rescue is live on Base, Arbitrum and OP Mainnet. Ethereum: read-only check. See how to read the diagnostic and security & verification.

Before you start: trust facts

Sounds familiar? “My funds disappear as soon as they arrive” · “I can’t pay for gas because the ETH is taken instantly” · “My wallet was hacked and I can’t get my tokens out”.