Withdraw from vault

Returns a partial transaction to withdraw ETH. When the vault is connected, uses Dashboard.withdraw.
When the vault is disconnected (e.g. after the disconnect wizard), uses StakingVault.withdraw(recipient, amount).

Path Params
string
required

The unique identifier of the Lido staking contracts

Body Params
string
required

Amount of Eth to withdraw denominated in Wei

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

Address of the receiving address

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