Deposit ETH and optionally mint stETH in an StvStETH pool

Generates the encoded transaction to deposit ETH into an StvStETH pool and
optionally mint stETH in the same transaction. The stETH amount is converted
to the equivalent stETH shares on-chain before minting. Only supported for
StvStETH pool vaults.

Path Params
string
required

The unique identifier of the Lido staking contracts

Body Params
string
required

Amount of ETH to deposit, as a bigint string in wei.

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

Optional referral address. Defaults to zero address if not provided.

string

Optional amount of stETH to mint against the deposit, as a bigint string in wei. Converted to the equivalent stETH shares on-chain before minting. Pass "0" or omit to deposit without minting. Pass the literal "max" to mint the full remaining capacity (computed server-side, projected against the ETH being deposited in this call).

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

Depositor address whose remaining minting capacity bounds the "max" amount (StvStETH pools are per-depositor). When stethToMint is "max", provide either fromAddress or simulateAddress; they must be the same if both are given.

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

Optional Ethereum address to simulate the transaction from.

Responses

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