Glossary

Withdrawal Credential

A withdrawal credential is the Ethereum address authorized to receive a validator's staking rewards and exited stake.

Key Takeaways

  • A withdrawal credential is a 32-byte field in a proof-of-stake validator's deposit data that specifies where staked ETH and accumulated staking rewards are sent upon withdrawal.
  • Three types exist: BLS credentials (0x00 prefix, original format, no automatic withdrawals), execution layer credentials (0x01 prefix, automatic reward sweeps), and compounding credentials (0x02 prefix, introduced by the Pectra upgrade, allowing balances up to 2,048 ETH).
  • Conversions are one-way and permanent: once a credential is upgraded from 0x00 to 0x01 or from 0x01 to 0x02, the withdrawal address cannot be changed, making the initial choice security-critical.

What Is a Withdrawal Credential?

A withdrawal credential is the cryptographic identifier embedded in an Ethereum validator's deposit data that determines who can claim the validator's staked ETH and rewards. When a validator earns rewards or exits the network, funds flow to the address specified by this credential. It is set at deposit time and serves as the ultimate authority over all value associated with that validator.

The withdrawal credential is distinct from the validator's signing keys, which are used for attestations and block proposals. A validator operator can run nodes and perform duties using signing keys, but cannot access staked funds without control of the withdrawal credential. This separation is a deliberate security design: compromising a validator's hot signing key does not grant access to the underlying stake.

The concept became especially important after the Shapella upgrade (April 12, 2023), which enabled withdrawals for the first time since the Beacon Chain launched in December 2020. Before Shapella, validators deposited ETH with no mechanism to withdraw it, making the credential format largely academic. Afterward, it became the single most important security parameter in a validator's configuration.

How It Works

The withdrawal credential is a 32-byte field where the first byte (the prefix) indicates the credential type. Ethereum currently recognizes three prefix types, each representing a different generation of the staking protocol:

Type 0: BLS Credentials (0x00)

The original format used when the Beacon Chain launched. A 0x00 credential is derived from a BLS withdrawal key using a specific derivation path. The 32-byte field contains the prefix byte 0x00 followed by 11 zero-padded bytes and the 20-byte hash of the BLS public key:

0x00 || 00000000000000000000000000 || hash(bls_withdrawal_pubkey)[:20]

Validators with 0x00 credentials cannot receive automatic reward sweeps or full withdrawals. Their excess balance above 32 ETH remains locked on the consensus layer. To enable withdrawals, they must convert to 0x01 by signing a BLSToExecutionChange message with their BLS withdrawal key.

Type 1: Execution Layer Credentials (0x01)

Introduced by the Capella consensus-layer upgrade (part of Shapella), 0x01 credentials point directly to an Ethereum execution address. The format embeds the target address:

0x01 || 000000000000000000000000 || execution_address

Validators with 0x01 credentials receive automatic partial withdrawals: the protocol periodically sweeps any balance above 32 ETH to the specified execution address. When a validator exits, the full balance is sent to this address after passing through the exit queue. However, rewards above 32 ETH cannot compound: they are swept out automatically instead of increasing the validator's effective balance.

Type 2: Compounding Credentials (0x02)

The Pectra upgrade (May 2025) introduced 0x02 compounding credentials through EIP-7251 (MaxEB). This credential type follows the same address format as 0x01 but uses the 0x02 prefix:

0x02 || 000000000000000000000000 || execution_address

Compounding validators can hold an effective balance anywhere from 32 to 2,048 ETH in 1 ETH increments. Instead of sweeping excess rewards, the balance grows and earns proportionally higher rewards. Partial withdrawals are still possible but must be requested manually rather than occurring automatically. This enables operators to consolidate multiple 32 ETH validators into fewer, higher-balance validators, reducing operational overhead and staking infrastructure costs.

Conversion Paths

Credential upgrades follow a strict, one-directional path. No downgrades or skipped steps are permitted:

FromToMethodReversible
0x00 (BLS)0x01 (Execution)Sign BLSToExecutionChange messageNo
0x01 (Execution)0x02 (Compounding)Via Staking Launchpad (post-Pectra)No
0x00 (BLS)0x02 (Compounding)Not allowed directly: must convert to 0x01 firstN/A

The irreversibility of these conversions means the execution address set during the 0x00 to 0x01 transition becomes permanent. There is no protocol mechanism to change the withdrawal address after conversion.

Why It Matters

The withdrawal credential is the single point of control over a validator's entire economic value. Unlike signing keys, which can be rotated or distributed across multiple machines, the withdrawal credential is fixed for the lifetime of the validator. Whoever controls the withdrawal address controls all staked ETH and all future rewards.

This matters in several contexts. For solo stakers, it means the withdrawal address must be secured with the same rigor as a high-value cold storage wallet. For staking pools and institutional operators, the withdrawal credential determines fund custody and must be protected by multisig or other threshold schemes. For liquid staking protocols, the credential points to a smart contract that manages redemptions for token holders.

EIP-7002, also activated in Pectra, adds another dimension: it allows the holder of a 0x01 or 0x02 withdrawal credential to trigger a validator exit directly from the execution layer, without needing the validator's consensus signing keys. This strengthens the withdrawal credential's role as the ultimate authority over a validator's lifecycle.

Use Cases

Solo Staking Security

Solo validators typically set their withdrawal credential to a hardware wallet address or a dedicated cold storage address that never touches an internet-connected device. The signing keys run on the validator machine, but the withdrawal credential points to a completely separate, air-gapped address. This way, even if the validator server is compromised, the attacker cannot redirect withdrawals.

Institutional and Pooled Staking

Institutional operators and staking pools use multisig contracts or distributed validator technology for their withdrawal credentials. This ensures no single party can unilaterally withdraw funds. Protocols like Lido and Rocket Pool set the withdrawal credential to a governance-controlled smart contract that enforces withdrawal rules and distributes rewards to token holders.

Validator Consolidation

With 0x02 compounding credentials, operators running dozens or hundreds of 32 ETH validators can consolidate them into fewer validators with higher balances (up to 2,048 ETH each). This reduces the number of signing keys to manage, lowers bandwidth and attestation overhead, and simplifies operations without reducing total staked value or rewards.

Execution Layer Exits

EIP-7002 enables holders of 0x01 or 0x02 credentials to trigger exits from the execution layer. This is particularly valuable for smart contract-based staking systems, which previously had to rely on the validator operator to initiate an exit using consensus-layer signing keys. With execution-layer exits, the withdrawal credential holder can force an exit even if the operator becomes unresponsive. For more on how Pectra changes validator operations, see the Pectra upgrade wallet impact analysis.

Risks and Considerations

Permanent Address Selection

The most critical risk is choosing the wrong withdrawal address. Because the conversion is irreversible, setting a withdrawal credential to an address you later lose access to means permanent loss of all staked ETH. There is no recovery mechanism at the protocol level. Before converting from 0x00 to 0x01, validators should verify the target address multiple times and confirm they have durable, backed-up access to the corresponding private key.

BLS Key Loss

Validators still on 0x00 credentials face a unique risk: if they lose their BLS withdrawal key (typically derived from the seed phrase used at deposit time), they cannot convert to 0x01 and their funds remain locked indefinitely. The BLS withdrawal key is required to sign the BLSToExecutionChange message, and without it, no conversion is possible. Maintaining secure backups of the original mnemonic is essential.

Deposit Front-Running

In delegated staking setups, there is a known attack vector where a malicious party can front-run a deposit transaction and register the same validator public key with a different withdrawal credential. This would redirect all future rewards to the attacker's address. The Ethereum community has proposed mitigations (such as EIP-8205, which allows pre-committing withdrawal credentials), but stakers should verify that their deposit transaction was included with the correct credentials by checking a block explorer after deposit.

Smart Contract Risk

Setting a withdrawal credential to a smart contract address introduces smart contract risk. If the contract has a bug, is upgradeable by a malicious party, or becomes non-functional, the staked ETH could become inaccessible. This is a tradeoff: smart contracts enable multisig security and programmable withdrawals, but add an attack surface that a simple externally owned account does not have.

Credential Type Tradeoffs

Each credential type involves tradeoffs. Type 0x01 provides automatic reward sweeps but prevents compounding. Type 0x02 enables compounding but requires manual partial withdrawal requests. Operators must evaluate whether maximizing effective balance or maintaining automatic liquidity better suits their strategy. The choice is permanent once made.

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.