Request a withdrawal from an STV pool's withdrawal queue

Generates the encoded transaction to request a withdrawal from the pool's
WithdrawalQueue contract. The caller's STV shares are locked and queued
for finalization.

Path Params
string
required

The unique identifier of the Lido staking contracts

Body Params

Request to encode a withdrawal request transaction for the pool's WithdrawalQueue contract.
Provide exactly one of stvToWithdraw or ethToWithdraw. If ethToWithdraw is provided,
the server converts it to the equivalent STV shares via the pool's previewWithdraw method.
For StvStETH pools, the stETH shares to rebalance are automatically determined by the server.

string
required
^0x[a-fA-F0-9]{40}$

Ethereum address that will be able to claim the withdrawal.

string

Amount of STV shares to withdraw, as a bigint string in wei. Mutually exclusive with ethToWithdraw.

string

Amount of ETH (assets) to withdraw, as a bigint string in wei. The server converts this to STV shares. Mutually exclusive with stvToWithdraw.

string
^0x[a-fA-F0-9]{40}$

Optional Ethereum address to simulate the transaction from. If provided, the transaction will be simulated and any revert errors will be returned.

Responses

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