Skip to main content

staking-service

Functions

<dl> <dt><a href="#stakeLido">stakeLido()</a></dt> <dd><p>Stake ETH to receive stETH via Lido</p> </dd> <dt><a href="#getLidoStakedBalance">getLidoStakedBalance()</a></dt> <dd><p>Get stETH balance for a wallet</p> </dd> <dt><a href="#getLidoSharesValue">getLidoSharesValue()</a></dt> <dd><p>Calculate stETH value from shares</p> </dd> <dt><a href="#stakeRocketPool">stakeRocketPool()</a></dt> <dd><p>Stake ETH to receive rETH via Rocket Pool</p> </dd> <dt><a href="#getRocketPoolStakedBalance">getRocketPoolStakedBalance()</a></dt> <dd><p>Get rETH balance for a wallet</p> </dd> <dt><a href="#getRocketPoolRethValue">getRocketPoolRethValue()</a></dt> <dd><p>Calculate rETH value for a given ETH amount</p> </dd> <dt><a href="#unstakeLido">unstakeLido()</a></dt> <dd><p>Unstake stETH from Lido (withdraw) Note: Lido withdrawals require the withdrawal queue contract</p> </dd> <dt><a href="#unstakeRocketPool">unstakeRocketPool()</a></dt> <dd><p>Unstake rETH from Rocket Pool Note: rETH can be redeemed for ETH through the protocol</p> </dd> <dt><a href="#getStakingPositions">getStakingPositions()</a></dt> <dd><p>Get staking positions for a wallet</p> </dd> <dt><a href="#getSupportedStakingChains">getSupportedStakingChains()</a></dt> <dd><p>Get supported staking chains</p> </dd> <dt><a href="#getStakingProtocols">getStakingProtocols()</a></dt> <dd><p>Get staking protocol info</p> </dd> </dl>

<a name="stakeLido"></a>

stakeLido()

Stake ETH to receive stETH via Lido

Kind: global function
<a name="getLidoStakedBalance"></a>

getLidoStakedBalance()

Get stETH balance for a wallet

Kind: global function
<a name="getLidoSharesValue"></a>

getLidoSharesValue()

Calculate stETH value from shares

Kind: global function
<a name="stakeRocketPool"></a>

stakeRocketPool()

Stake ETH to receive rETH via Rocket Pool

Kind: global function
<a name="getRocketPoolStakedBalance"></a>

getRocketPoolStakedBalance()

Get rETH balance for a wallet

Kind: global function
<a name="getRocketPoolRethValue"></a>

getRocketPoolRethValue()

Calculate rETH value for a given ETH amount

Kind: global function
<a name="unstakeLido"></a>

unstakeLido()

Unstake stETH from Lido (withdraw) Note: Lido withdrawals require the withdrawal queue contract

Kind: global function
<a name="unstakeRocketPool"></a>

unstakeRocketPool()

Unstake rETH from Rocket Pool Note: rETH can be redeemed for ETH through the protocol

Kind: global function
<a name="getStakingPositions"></a>

getStakingPositions()

Get staking positions for a wallet

Kind: global function
<a name="getSupportedStakingChains"></a>

getSupportedStakingChains()

Get supported staking chains

Kind: global function
<a name="getStakingProtocols"></a>

getStakingProtocols()

Get staking protocol info

Kind: global function