BTB
/

Lido

Liquid Stakingwebsite
Liquid staking for Ethereum: stake ETH for rebasing stETH, wrap it into non-rebasing wstETH, and unstake through the withdrawal queue (unstETH NFTs). wstETH is bridged to many L2s and chains.

What you can do

stakeStake ETH for stETHstETH.submit(referral) with ETH value; check getCurrentStakeLimit() >= amount and isStakingPaused() == false first
stake-to-wstethStake ETH straight into wstETHsend plain ETH to the wstETH contract (receive), or wstETH referral staker stakeETH(referral)
wrapConvert stETH to wstETHstETH.approve(wstETH, amount) then wstETH.wrap(amount)
unwrapConvert wstETH to stETHwstETH.unwrap(amount)
request-withdrawalStart unstaking stETH or wstETH to ETHapprove WithdrawalQueueERC721, then requestWithdrawals(amounts, owner) or requestWithdrawalsWstETH(amounts, owner); split amounts over 1000 stETH into several entries
check-withdrawalSee whether requests are readygetWithdrawalRequests(owner) then getWithdrawalStatus(ids); isFinalized && !isClaimed means claimable
claim-withdrawalReceive ETH for finalized requestshints = findCheckpointHints(sortedIds, 1, getLastCheckpointIndex()); then claimWithdrawals(sortedIds, hints)
bridge-wstethMove wstETH to an L2use the chain's L1 bridge/gateway listed under contracts (approve wstETH to it first); fetch the exact deposit function with get_abi
stETH is rebasing: balances change roughly once a day with the oracle report, without Transfer events. Store shares (sharesOf) or use wstETH for accounting.
stETH transfers can deliver 1-2 wei less than requested (integer rounding), and a full-balance transfer can leave 1-2 wei behind; use transferShares for exact amounts.
Withdrawals are not instant: normally 1-5 days per Lido's help center, and longer depending on queue size, bunker mode, and the Beacon chain exit queue. Requests cannot be cancelled (the unstETH NFT is transferable).
Each withdrawal request must be between 100 wei and 1000 stETH; larger amounts must be split.

Contracts

Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).
Lido / stETHstaking on ethereum0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84
write submit(address)
Stake ETH and mint stETH to msg.sender. Argument: referral address (zero address if none). Reverts if staking is paused or amount exceeds getCurrentStakeLimit(). Sending plain ETH to the contract does the same.
read balanceOf(address)
stETH balance; changes on each daily rebase (shares * totalPooledEther / totalShares).
read sharesOf(address)
Underlying share balance; constant across rebases.
read getSharesByPooledEth(uint256)
Convert a stETH amount to shares.
read getPooledEthByShares(uint256)
Convert shares to a stETH amount.
write transferShares(address,uint256)
Transfer an exact number of shares (avoids the 1-2 wei rounding of transfer).
write transferSharesFrom(address,address,uint256)
Transfer shares using an allowance.
write transfer(address,uint256)
Transfer stETH (may deliver 1-2 wei less than requested).
write approve(address,uint256)
Approve a spender (e.g. wstETH for wrap, WithdrawalQueueERC721 for requestWithdrawals).
write permit(address,address,uint256,uint256,uint8,bytes32,bytes32)
EIP-2612 signed approval.
read getTotalPooledEther()
Total ETH controlled by the protocol.
read getTotalShares()
Total shares in existence.
read getCurrentStakeLimit()
ETH that can be staked right now; check >= amount before submit.
read isStakingPaused()
True if staking is paused (submit reverts).
wstETHtoken on ethereum0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
write wrap(uint256)
Wrap stETH into wstETH (approve stETH to wstETH first). Returns wstETH minted.
write unwrap(uint256)
Burn wstETH and receive stETH. Returns stETH received.
read getWstETHByStETH(uint256)
wstETH amount for a given stETH amount.
read getStETHByWstETH(uint256)
stETH amount for a given wstETH amount.
read stEthPerToken()
stETH per 1 wstETH (rate rises roughly daily).
read tokensPerStEth()
wstETH per 1 stETH.
read balanceOf(address)
wstETH balance (non-rebasing).
write approve(address,uint256)
Approve a spender (e.g. WithdrawalQueueERC721 for requestWithdrawalsWstETH, or an L1 bridge).
write receive()
Sending plain ETH to wstETH stakes it via Lido and returns wstETH to the sender (staking limit applies).
WithdrawalQueueERC721 (unstETH)staking on ethereum0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1
write requestWithdrawals(uint256[],address)
Lock stETH (approve first) and mint one unstETH NFT per amount. Each amount 100 wei to 1000 stETH; owner = zero address means msg.sender. Returns request IDs.
write requestWithdrawalsWstETH(uint256[],address)
Same, for wstETH (approve wstETH first).
write requestWithdrawalsWithPermit(uint256[],address,(uint256,uint256,uint8,bytes32,bytes32))
stETH withdrawal request with EIP-2612 permit (value, deadline, v, r, s). Can be griefed by front-running; fall back to requestWithdrawals.
write requestWithdrawalsWstETHWithPermit(uint256[],address,(uint256,uint256,uint8,bytes32,bytes32))
wstETH withdrawal request with permit.
read getWithdrawalRequests(address)
Request IDs (unstETH NFT IDs) owned by an address.
read getWithdrawalStatus(uint256[])
Per request: amountOfStETH, amountOfShares, owner, timestamp, isFinalized, isClaimed.
read getLastCheckpointIndex()
Latest checkpoint index, used as the upper bound for findCheckpointHints.
read findCheckpointHints(uint256[],uint256,uint256)
Hints for claiming: (sorted requestIds, 1, getLastCheckpointIndex()).
read getClaimableEther(uint256[],uint256[])
Claimable ETH per request (0 unless finalized and unclaimed).
write claimWithdrawals(uint256[],uint256[])
Claim ETH for several finalized requests using hints; burns the NFTs.
write claimWithdrawalsTo(uint256[],uint256[],address)
Claim to a different recipient.
write claimWithdrawal(uint256)
Claim a single finalized request to msg.sender.
read isBunkerModeActive()
True if bunker mode is active (finalization may be slowed/discounted after significant losses).
read unfinalizedStETH()
Total stETH waiting in the queue.
StakingRouterstaking on ethereum0xFdDf38947aFB03C621C71b06C9C70bce73f12999
read getStakingModules()
All staking modules (validator subsets) and their parameters.
read getStakingModuleIds()
IDs of all staking modules.
read getStakingModulesCount()
Number of staking modules.
read getStakingModule(uint256)
One module's parameters.
read getStakingModuleSummary(uint256)
Validator counts summary for a module.
read getStakingModuleStatus(uint256)
Module status (active / deposits paused / stopped).
read getStakingFeeAggregateDistribution()
Protocol fee split: modulesFee, treasuryFee, basePrecision.
read getStakingRewardsDistribution()
Fee recipients, module IDs, per-module fees, total fee, precision.
LidoLocatorother on ethereum0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb
wstETH referral stakerstaking on ethereum0xa88f0329C2c4ce51ba3fc619BBf44efE7120Dd0d
write stakeETH(address)
Stake ETH for wstETH with a referral address. Do not send ETH or tokens to this contract directly.
L1ERC20TokenGateway (wstETH to Arbitrum)bridge on ethereum0x0F25c1DC2a9922304f2eac71DCa9B07E310e8E5a
L1LidoTokensBridge (wstETH/stETH to Optimism)bridge on ethereum0x76943C0D61395d8F2edF9060e1533529cAe05dE6
L1ERC20TokenBridge (wstETH to Base)bridge on ethereum0x9de443AdC5A411E83F1878Ef24C3F52C61571e72
Linea L1 TokenBridge (canonical, wstETH to Linea)bridge on ethereum0x051F1D88f0aF5763fB888eC4378b4D8B29ea3319
L1LidoTokensBridge (wstETH/stETH to Unichain)bridge on ethereum0x755610f5Be536Ad7afBAa7c10F3E938Ea3aa1877
Wormhole NTT Manager, Ethereum side (wstETH to BNB Chain)bridge on ethereum0xb948a93827d68a82F6513Ad178964Da487fe2BD9
wstETH (bridged)token on arbitrum0x5979D7b546E38E414F7E9822514be443A4800529
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
L2ERC20TokenGatewaybridge on arbitrum0x07D4692291B9E30E326fd31706f686f83f331B82
wstETH (ERC20BridgedPermit)token on optimism0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
stETH (ERC20RebasableBridgedPermit)token on optimism0x76A50b8c7349cCDDb7578c6627e79b5d99D24138
read balanceOf(address)
Rebasable bridged stETH balance on Optimism.
write transfer(address,uint256)
Transfer bridged stETH.
TokenRateOracleother on optimism0x294ED1f214F4e0ecAE31C3Eae4F04EBB3b36C9d0
L2ERC20ExtendedTokensBridgebridge on optimism0x8E01013243a96601a86eb3153F0d9Fa4fbFb6957
wstETH (bridged)token on base0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
L2ERC20TokenBridgebridge on base0xac9D11cD4D7eF6e54F14643a393F68Ca014287AB
wstETH (CustomBridgedToken)token on linea0xB5beDd42000b71FddE22D3eE8a79Bd49A568fC8F
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
wstETH (ERC20BridgedPermit)token on unichain0xc02fE7317D4eb8753a02c35fe019786854A92001
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
stETH (ERC20RebasableBridgedPermit)token on unichain0x81f2508AAC59757EF7425DDc9717AB5c2AA0A84F
wstETH (WstEthL2Token)token on bsc0x26c5e01524d2E6280A48F2c50fF6De7e52E9611C
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
wstETH (ERC20BridgedUpgradeable)token on zksync0x703b52F2b28fEbcB60E1372858AF5b18849FE867
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
wstETH (L2WstETHToken)token on scroll0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
wstETH (ERC20BridgedPermit)token on mantle0x458ed78EB972a369799fb278c0243b25e5242A83
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
wstETH (bridged)token on mode0x98f96A4B34D03a2E6f225B28b8f8Cb1279562d81
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
wstETH (ERC20Bridged)token on zircuit0xf0e673Bc224A8Ca3ff67a61605814666b1234833
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
wstETH (ERC20BridgedPermit)token on soneium0xaA9BD8c957D803466FA92504BDd728cC140f8941
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
stETH (ERC20RebasableBridgedPermit)token on soneium0x0Ce031AEd457C870D74914eCAA7971dd3176cDAF
wstETH (ERC20Bridged)token on lisk0x76D8de471F54aAA87784119c60Df1bbFc852C415
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
wstETH (ERC20Bridged)token on swellchain0x7c98E0779EB5924b3ba8cE3B17648539ed5b0Ecc
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.
wstETH (UChildERC20, Polygon PoS)token on polygon0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD
read balanceOf(address)
Bridged wstETH balance (plain ERC-20, non-rebasing).
write transfer(address,uint256)
Transfer bridged wstETH.
write approve(address,uint256)
Approve a spender, e.g. the L2 bridge or a DEX.