Prepare a queueWithdrawals transaction

Encodes DelegationManager.queueWithdrawals([{strategies, depositShares, withdrawer}]).
Queues a withdrawal for the specified strategies and share amounts. Shares enter a ~14-day escrow.
After escrow, use POST /transactions/prepare/complete-withdrawal to complete all eligible withdrawals in one batch.

The request body expects a shares array (not sharesGwei). Values must match the unit returned by the stakes endpoint's shares field.

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 Ethereum address

strategies
array of strings
required

Strategy contract addresses to withdraw from

strategies*
shares
array of strings
required

Share amounts to withdraw per strategy (in wei)

shares*
Responses

400

Invalid input or network

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