walletpermissions
Request types · EIP-7702

Account code delegation (EIP-7702 authorization)

A signed authorization that points your regular account (EOA) at a contract’s code. Calls to your account then run that code with your account’s assets.

Request: Authorization tuple [chain_id, address, nonce] in a set code transaction

Education only: this page does not assess any real request, wallet or app, and is not advice to sign or not sign. Checked against the sources below on November 4, 2026. Drafted with AI assistance and awaiting human review against the cited standards. Markdown version

What to read in the prompt

  • The address you are delegating to.
  • The chain_id. EIP-7702 accepts “0 or the ID of the current chain”, so 0 means any chain.
  • Which wallet is asking. The EIP expects wallets, not websites, to initiate this.

What it lets the other party do

  • Once processed, your account’s code is set to a delegation indicator, and calls to your account load “the code at address” and execute it “in the context of authority”, which is your account.
  • EIP-7702: “The code specified by an authorization has unrestricted access to the account.” It also warns that a poorly built delegate can “allow a malicious actor to take near complete control over a signer’s EOA.”

What it does not do

  • There is no permission system at this level. EIP-7702: “It is also not possible to implement a system of permissions at this level to minimize the risk.”

How long it lasts

  • It persists until a new authorization replaces it. EIP-7702 also notes the delegation is “not rolled back” if the rest of the transaction fails.

How to undo it

  • Sign a new authorization through your wallet. Delegating to the zero address clears the account’s code, per the EIP. It does not undo anything the delegated code already did.
  • To look at your real account, use an established external tool such as Revoke.cash.

A pattern to recognise

  • A website asking you to sign an “account upgrade”. EIP-7702: “Applications must not expect that they can suggest the user sign an authorization, and therefore it is the duty of the wallet to not provide an interface to do so.”
Fictional practice

Practice question

A fictional site, Lanternfly Swap, asks you to sign an “upgrade” so swaps can be batched.

Fictional request card
Request type
EIP-7702 authorization
Delegate to
Lanternfly Batcher (fictional contract)
chain_id
0
Requested by
The website

Does chain_id 0 limit this authorization to one network?

Show the answer

Answer: No. EIP-7702 accepts a chain ID of 0 on any chain. It is also a website requesting an authorization, which the EIP says applications must not expect to do.

Check your real account elsewhere

This site never connects to a wallet and never asks for an address. To see or remove approvals on a real account, use an established tool:

Independent tools, not affiliated with this site. Linking is not an endorsement or a safety assessment.

Sources

  1. EIP-7702: Set Code for EOAs. Ethereum EIPs. Final; created 2024-05-07. Checked 2026-11-04.

Quotes are from these sources. Found an error? Corrections are logged publicly on the changelog.