Prepare a batched validator consolidation transaction

Resolves the staker's EigenPod and encodes EigenPod.requestConsolidation(requests) — a single
transaction that consolidates N restaked validators. The pod forwards each request to the EIP-7251
consolidation predeploy with the pod itself as the caller, so depositor attribution is correct by
construction.

Set sourcePubkey equal to targetPubkey to switch a validator from 0x01 to 0x02 (compounding)
withdrawal credentials. Otherwise the source validator is consolidated into the target, which must
already have 0x02 credentials. All referenced validators must have their withdrawal credentials
pointed at the staker's EigenPod.

The transaction value covers the per-request predeploy fee plus a 10% buffer; the pod refunds any
excess. Only the pod owner or proof submitter can execute the transaction — it reverts otherwise.

Nonce handling: The nonce is computed at call time. If you prepare multiple transactions before broadcasting, they will share the same nonce and only the first will succeed. Broadcast and confirm each transaction before preparing the next.

Query Params
string
enum
Defaults to mainnet

Target network. Defaults to mainnet.

Allowed:
Body Params
string
required

Staker wallet address — the EigenPod owner. The pod is resolved automatically.

requests
array of objects
required
length ≤ 200

Consolidation requests, batched into a single transaction (max 200). Every referenced validator must have its withdrawal credentials pointed at the staker EigenPod.

requests*
Responses

400

Invalid input, network, or no EigenPod deployed

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json