Protocols / Liquid Staking
Lido
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.
On-chain + APIEVM34 contractsWebsite · Docs
get_protocol({ "protocol": "lido" })Risks an agent should know
- 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.
- Claimed ETH is normally the value at request time, but can be discounted if significant losses occur before finalization (documented as never having happened on mainnet).
- Staking has a rate limit (getCurrentStakeLimit) and can be paused; submit reverts if exceeded or paused.
- Bridged wstETH on most L2s is a plain ERC-20: it cannot be unwrapped or withdrawn there, and it has no built-in exchange rate; use Lido/Chainlink rate feeds or bridge back to Ethereum.
- Permit-based withdrawal requests can be front-run (griefing, no fund loss); fall back to the approve + requestWithdrawals path.
- Core contracts are upgradeable proxies controlled by Lido DAO governance.
What an agent can do
| stake | Stake ETH for stETH stETH.submit(referral) with ETH value; check getCurrentStakeLimit() >= amount and isStakingPaused() == false first |
| stake-to-wsteth | Stake ETH straight into wstETH send plain ETH to the wstETH contract (receive), or wstETH referral staker stakeETH(referral) |
| wrap | Convert stETH to wstETH stETH.approve(wstETH, amount) then wstETH.wrap(amount) |
| unwrap | Convert wstETH to stETH wstETH.unwrap(amount) |
| request-withdrawal | Start unstaking stETH or wstETH to ETH approve WithdrawalQueueERC721, then requestWithdrawals(amounts, owner) or requestWithdrawalsWstETH(amounts, owner); split amounts over 1000 stETH into several entries |
| check-withdrawal | See whether requests are ready getWithdrawalRequests(owner) then getWithdrawalStatus(ids); isFinalized && !isClaimed means claimable |
| claim-withdrawal | Receive ETH for finalized requests hints = findCheckpointHints(sortedIds, 1, getLastCheckpointIndex()); then claimWithdrawals(sortedIds, hints) |
| bridge-wsteth | Move wstETH to an L2 use the chain's L1 bridge/gateway listed under contracts (approve wstETH to it first); fetch the exact deposit function with get_abi |
Contracts
ethereum · chain id 1
| Contract | Address | Key functions | Try |
|---|---|---|---|
| Lido / stETH staking · proxy | 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84 source | writesubmit(address) readbalanceOf(address) readsharesOf(address) readgetSharesByPooledEth(uint256) readgetPooledEthByShares(uint256) writetransferShares(address,uint256) writetransferSharesFrom(address,address,uint256) writetransfer(address,uint256) +6 more via get_protocol | Full ABI |
| wstETH token | 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0 source | writewrap(uint256) writeunwrap(uint256) readgetWstETHByStETH(uint256) readgetStETHByWstETH(uint256) readstEthPerToken() readtokensPerStEth() readbalanceOf(address) writeapprove(address,uint256) +1 more via get_protocol | Full ABI |
| WithdrawalQueueERC721 (unstETH) staking · proxy | 0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1 source | writerequestWithdrawals(uint256[],address) writerequestWithdrawalsWstETH(uint256[],address) writerequestWithdrawalsWithPermit(uint256[],address,(uint256,uint256,uint8,bytes32,bytes32)) writerequestWithdrawalsWstETHWithPermit(uint256[],address,(uint256,uint256,uint8,bytes32,bytes32)) readgetWithdrawalRequests(address) readgetWithdrawalStatus(uint256[]) readgetLastCheckpointIndex() readfindCheckpointHints(uint256[],uint256,uint256) +6 more via get_protocol | Full ABI |
| StakingRouter staking · proxy | 0xFdDf38947aFB03C621C71b06C9C70bce73f12999 source | readgetStakingModules() readgetStakingModuleIds() readgetStakingModulesCount() readgetStakingModule(uint256) readgetStakingModuleSummary(uint256) readgetStakingModuleStatus(uint256) readgetStakingFeeAggregateDistribution() readgetStakingRewardsDistribution() | Full ABI |
| LidoLocator other · proxy | 0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb source | Full ABI | |
| wstETH referral staker staking | 0xa88f0329C2c4ce51ba3fc619BBf44efE7120Dd0d source | writestakeETH(address) | Full ABI |
| L1ERC20TokenGateway (wstETH to Arbitrum) bridge · proxy | 0x0F25c1DC2a9922304f2eac71DCa9B07E310e8E5a source | Full ABI | |
| L1LidoTokensBridge (wstETH/stETH to Optimism) bridge · proxy | 0x76943C0D61395d8F2edF9060e1533529cAe05dE6 source | Full ABI | |
| L1ERC20TokenBridge (wstETH to Base) bridge · proxy | 0x9de443AdC5A411E83F1878Ef24C3F52C61571e72 source | Full ABI | |
| Linea L1 TokenBridge (canonical, wstETH to Linea) bridge · proxy | 0x051F1D88f0aF5763fB888eC4378b4D8B29ea3319 source | Full ABI | |
| L1LidoTokensBridge (wstETH/stETH to Unichain) bridge · proxy | 0x755610f5Be536Ad7afBAa7c10F3E938Ea3aa1877 source | Full ABI | |
| Wormhole NTT Manager, Ethereum side (wstETH to BNB Chain) bridge · proxy | 0xb948a93827d68a82F6513Ad178964Da487fe2BD9 source | Full ABI |
arbitrum · chain id 42161
optimism · chain id 10
| Contract | Address | Key functions | Try |
|---|---|---|---|
| wstETH (ERC20BridgedPermit) token · proxy | 0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb source | readbalanceOf(address) writetransfer(address,uint256) writeapprove(address,uint256) | Full ABI |
| stETH (ERC20RebasableBridgedPermit) token · proxy | 0x76A50b8c7349cCDDb7578c6627e79b5d99D24138 source | readbalanceOf(address) writetransfer(address,uint256) | Full ABI |
| TokenRateOracle other · proxy | 0x294ED1f214F4e0ecAE31C3Eae4F04EBB3b36C9d0 source | Full ABI | |
| L2ERC20ExtendedTokensBridge bridge · proxy | 0x8E01013243a96601a86eb3153F0d9Fa4fbFb6957 source | Full ABI |
base · chain id 8453
linea · chain id 59144
unichain · chain id 130
| Contract | Address | Key functions | Try |
|---|---|---|---|
| wstETH (ERC20BridgedPermit) token · proxy | 0xc02fE7317D4eb8753a02c35fe019786854A92001 source | readbalanceOf(address) writetransfer(address,uint256) writeapprove(address,uint256) | Full ABI |
| stETH (ERC20RebasableBridgedPermit) token · proxy | 0x81f2508AAC59757EF7425DDc9717AB5c2AA0A84F source | Full ABI |
bsc · chain id 56
zksync · chain id 324
scroll · chain id 534352
mantle · chain id 5000
mode · chain id 34443
zircuit · chain id 48900
soneium · chain id 1868
| Contract | Address | Key functions | Try |
|---|---|---|---|
| wstETH (ERC20BridgedPermit) token · proxy | 0xaA9BD8c957D803466FA92504BDd728cC140f8941 source | readbalanceOf(address) writetransfer(address,uint256) writeapprove(address,uint256) | Full ABI |
| stETH (ERC20RebasableBridgedPermit) token · proxy | 0x0Ce031AEd457C870D74914eCAA7971dd3176cDAF source | Full ABI |
lisk · chain id 1135
swellchain · chain id 1923
polygon · chain id 137
APIs
| stETH APR (7-day SMA) auth: none | https://eth-api.lido.fi/v1/protocol/steth/apr/sma Read the 7-day moving-average staking APR (updates daily after the oracle report). |
| stETH APR (latest) auth: none | https://eth-api.lido.fi/v1/protocol/steth/apr/last Read the latest daily staking APR. |
| Withdrawal time estimate auth: none | https://wq-api.lido.fi/v2/request-time/calculate?amount=32 Estimate wait time for a new withdrawal of a given stETH amount; /v2/request-time?ids=1&ids=2 for existing request IDs. |
| Reward history auth: none | https://reward-history-backend.lido.fi/?address=0x12345 Staking reward history for an address (replace the address parameter). |
Notes
Contracts from Lido's official deployed-contracts page; proxies listed by proxy address (implementations omitted). On Ethereum, the Lido contract is the stETH token. Optimism, Unichain and Soneium also have bridged rebasable stETH with an in-protocol rate feed (TokenRateOracle) pushed from L1. BNB Chain wstETH is bridged via Wormhole NTT; Polygon PoS wstETH via the Polygon PoS bridge (ERC20Predicate on Ethereum 0x40ec5B33f54e0E8A33A975908C5BA1c14e5BbbDf). Bridge contracts for zkSync, Scroll, Mantle, Mode, Zircuit, Soneium, Lisk and Swellchain, plus Lido V3 (stVaults: VaultHub, OperatorGrid, etc.), oracles and other core contracts, are on https://docs.lido.fi/deployed-contracts/. Bridge keyFunctions are left empty on purpose: fetch their ABI with get_abi. LidoLocator returns the current addresses of all core protocol contracts.
Sources
- https://docs.lido.fi/deployed-contracts/
- https://docs.lido.fi/contracts/lido/
- https://docs.lido.fi/contracts/wsteth/
- https://docs.lido.fi/contracts/withdrawal-queue-erc721/
- https://docs.lido.fi/contracts/staking-router/
- https://docs.lido.fi/guides/lido-tokens-integration-guide/
- https://docs.lido.fi/integrations/api/
- https://help.lido.fi/en/articles/7858315-how-long-does-an-ethereum-withdrawal-take
Researched 2026-11-24. Addresses are copied from the official sources above; check them before moving large amounts.