EIP-8476 Permanently Disabling EOA Delegation (Permanent EOA Delegation Opt-Out)
No call decision · Account abstraction · EIP status Draft · created 2026-10-30
A proposal that lets an EOA permanently turn off the EIP-7702 delegation feature. Even after opting out, the account can still send ordinary transactions just like a normal EOA.
Why it is needed
EIP-7702 gives EOAs the permanent ability to delegate execution. However, many accounts, such as institutional wallets, exchange hot wallets, and treasuries, do not need this feature. These accounts run operational controls such as withdrawal approval, amount and frequency limits, monitoring, and emergency pause outside of Ethereum consensus. Once delegated execution becomes possible, the premise behind these controls breaks down, and there is less time to respond to problems. In particular, if a private key or signing infrastructure is leaked, an attacker can obtain multiple delegation signatures in advance for consecutive nonces, bundle them, and submit a transaction; if even one of them lands, the delegation takes effect and the attacker can repeatedly move assets afterward. This proposal creates a way for an account owner to explicitly and permanently turn off the delegation feature itself. However, it cannot prevent a leaked private key from being used to move funds or approve contracts through ordinary transactions.
What changes
Today
- An EOA that has set a delegation can still set or change the delegation again afterward, so there is no way to fully turn off the delegation feature.
- If a private key or signing infrastructure is leaked, an attacker can obtain multiple delegation signatures for consecutive nonces in advance, submit them all at once, and repeatedly move assets.
- There is a risk that off-chain controls such as withdrawal approval and monitoring for institutional wallets could be bypassed through delegated execution.
After EIP-8476
- An account owner can permanently block the delegation feature with a single opt-out transaction.
- After opting out, every incoming EIP-7702 delegation signature is skipped instead of being processed.
- On the EVM, the account is still treated as a normal EOA with no code, so balance transfers, token receipt, and the like continue to work as before.
- Once blocked, it cannot be reversed by any transaction.
Who is affected
- Institutional wallet, exchange hot wallet, and treasury operators: They can permanently turn off the delegation feature while keeping existing operational controls such as withdrawal approval and monitoring in place.
- Wallet and signing infrastructure developers: They need to recognize the new opt-out transaction form and clearly inform users that it is irreversible, distinguishing it from ordinary transfers.
- Client and transaction pool teams: They need to add validation logic that detects the marker based on the raw code, substitutes EXTCODEHASH, and allows the opt-out transaction form.
- On-chain contract and dApp developers: Existing logic that identifies accounts using EXTCODESIZE and EXTCODEHASH is unaffected, since an opted-out account still appears as an EOA with empty code.
In depth
What the marker is: OPT_OUT_CODE
An opted-out account's stored code changes to exactly the 3 bytes 0xef0200 (OPT_OUT_CODE). This value is not yet a finalized code format; it is a candidate value for this draft, and a separate coordination step is needed to assign it. The state trie's codeHash becomes keccak256(OPT_OUT_CODE), which is neither the hash of empty code nor the marker bytes themselves. No new storage slot or account field is added. Clients must check that the entire code (including its length) matches exactly, and a code that only matches the prefix is not recognized as the marker. This marker differs from EIP-7702's 23-byte delegation designator (0xef0100 || address) and must not be interpreted as one.
Conditions and gas for the opt-out transaction
A set-code transaction (type 0x04) with an empty authorization_list, which was previously always invalid, is now allowed as a valid opt-out transaction, but only when the destination is the account itself, value is 0, data is empty, and access_list is also empty. No new transaction type or signing domain is introduced; the existing EIP-7702 signature scheme is used as is. The base cost is the same TX_BASE_COST as a zero-value transaction sent to oneself, and if the account's code was empty at the start of the transaction, state gas for 3 bytes (OPT_OUT_STATE_BYTES x CPSB) is added in the EIP-2780 manner. Accounts that already have a delegation designator or the marker do not pay this state gas. Even if there is not enough gas to install the marker, the transaction itself is still included and its nonce and fee are processed as usual; only the receipt status becomes 0.
Transaction origination exception
EIP-3607 blocks transaction origination from accounts that have code, but this proposal extends the exception so that an account whose raw code is exactly OPT_OUT_CODE can still send any transaction type normally. The existing exceptions for empty code and for a valid EIP-7702 delegation designator remain unchanged. This exception does not apply to accounts with other code. Having the marker does not mean that code is executed when the account sends a transaction; ordinary ETH transfers, contract calls, and contract creation transactions all behave as usual.
Delegation signatures are skipped during processing
In step 5 of EIP-7702 delegation processing, an authorization tuple targeting an account whose raw code equals OPT_OUT_CODE fails the code eligibility check and is skipped. Neither the code nor the nonce changes, and no refund is given as it would be on success, but since the address was already added to accessed_addresses in step 4, it remains warm. This rule applies equally to an authorization targeting the zero address to clear a delegation, or to a chain-agnostic authorization (chain_id=0). Even in a transaction sent by an opted-out account, if it includes an authorization signed by a different account, that account's delegation is processed normally.
The EVM treats the marker as empty code
When CALL, CALLCODE, DELEGATECALL, or STATICCALL load the code of an account with the marker, the client must treat OPT_OUT_CODE as empty executable code rather than as instructions. This holds even when the account is the single-hop target of an EIP-7702 delegation resolution. So a call to a marker account succeeds with an empty return value when conditions are met. EXTCODESIZE returns 0, EXTCODECOPY returns zero-filled bytes, and EXTCODEHASH returns keccak256(""). However, the codeHash stored in the state trie is keccak256(OPT_OUT_CODE), so the EXTCODEHASH result differs from the actually stored codeHash. This substitution applies only to the code the EVM sees; consensus rules such as the EIP-684 collision check and the EIP-161 account-emptiness determination still use the raw code as is.
Irreversible, yet it consumes resources
No transaction or EVM operation can erase or change the marker. Authorization processing rejects marker accounts, ordinary outgoing transactions do not change the code, and calls do not execute instructions. Contract creation at this address keeps failing because it hits EIP-684's nonce/raw-code collision check. Account-emptying under EIP-161 is also based on the raw code, so draining the balance entirely does not remove the marker. Opting out stores a permanent 3-byte code and changes the codeHash; accessing and recording the sender account is included in TX_BASE_COST, and the newly written 3 bytes are charged at the same rate (CPSB) that EIP-8037 applies to the 23-byte delegation designator. There is no separate code-deployment fee, storage slot, or account-creation fee.
Why a code marker instead of a registry
Using a code marker lets the proposal reuse existing account state and EIP-7702's code-eligibility check as is. Alternatives such as a system-contract registry or a new account field recording opt-out status were considered but not adopted because they would require additional permanent structures or changes to the account model. The tradeoff is that for marker accounts the state-trie codeHash and the code the EVM sees diverge, and on-chain contracts have no way to distinguish an opted-out account from an ordinary EOA. Opt-out status can only be confirmed through off-chain paths such as eth_getCode or eth_getProof. Note also that the 3-byte value 0xef0200 may overlap with the 0xef02 namespace mentioned by EIP-8141 or with the adjacent 0xef0101 format proposed by EIP-7851/EIP-8164, so this draft itself does not claim that this value is finalized or uncontested.
Security limits, and still a Draft
Opting out only removes protocol-level delegation capability; it does not stop a private-key holder from draining funds or granting token approvals through ordinary transactions. The effect also applies per chain separately, so a key used across multiple chains must opt out on each chain separately and pay gas each time, and a prior opt-out does not carry over to a chain that adopts EIP-7702 later. Before a transaction is included in a block, a stolen key or an existing authorization can preempt or invalidate the opt-out, and if a reorg drops the opt-out transaction, its effect disappears along with it. This EIP is currently in Draft status, and many aspects remain subject to change, including consistency with other drafts such as EIP-8037 and EIP-8038 in the requires list, and the namespace assignment of the OPT_OUT_CODE value.