BTB
/

Stader

Liquid Stakingwebsite
Liquid staking for ETH. Deposit ETH to mint ETHx, a yield-bearing token whose value grows against ETH over time. Redeem ETHx by opening a withdrawal request and claiming the ETH once it is finalized.

What you can do

stakeStake ETH for ETHxStaderStakePoolsManager.deposit(receiver) with ETH as msg.value (on Ethereum mainnet). Check minDeposit and paused first.
unstakeRedeem ETHx for ETH through a withdrawal requestapprove the UserWithdrawalManager for the ETHx amount, then requestWithdraw(ethXAmount, owner). Note the request id from the return value or getRequestIdsByUser.
claimClaim ETH from a finalized withdrawal requestcheck userWithdrawRequests(requestId) until ethFinalized is above zero, then UserWithdrawalManager.claim(requestId).
check-rateRead the current ETHx to ETH rateStaderStakePoolsManager.getExchangeRate(), or previewWithdraw(1e18) for the value of one ETHx
Redeeming ETHx is not instant. A withdrawal request must be finalized by the protocol before the ETH can be claimed, and finalization depends on validator exits and vault liquidity.
The ETHx to ETH rate is set by the protocol's accounting and can fall as well as rise, for example after slashing or penalties.
The Ethereum contracts are upgradeable proxies. Stader can change their implementations, and admin roles can pause deposits and withdrawals.
Arbitrum and Optimism hold bridged ETHx. Minting and redeeming happen only on Ethereum, so moving ETHx to L2 means bridging it back before redeeming.

Contracts

Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).
StaderStakePoolsManager (stake pool manager)pool on ethereum0xcf5EA1b38380f6aF39068375516Daf40Ed70D299
write deposit(address)
Stake ETH and mint ETHx. Argument: receiver, the address that gets the ETHx. Send the ETH as msg.value. Returns the ETHx minted. No approval needed.
read previewDeposit(uint256)
How much ETHx a given ETH amount (in wei) would mint right now.
read previewWithdraw(uint256)
How much ETH a given ETHx amount (in wei) is worth right now, before any withdrawal fee or finalization delay.
read getExchangeRate()
Current ETHx to ETH exchange rate, scaled to 18 decimals. It rises over time as staking rewards accrue.
read minDeposit()
Smallest ETH amount (in wei) accepted by deposit.
read maxDeposit()
Largest ETH amount (in wei) the pool accepts in one deposit right now.
read isVaultHealthy()
Whether the vault is in a healthy state. Check it before large deposits.
read paused()
True when the stake pool manager is paused and deposits will revert.
UserWithdrawalManagerexchange on ethereum0x9F0491B32DBce587c50c4C43AB303b06478193A7
write requestWithdraw(uint256,address)
Start an ETHx to ETH withdrawal. Arguments: ethXAmount (ETHx in wei) and owner (the address that can claim the ETH later). Approve this contract for the ETHx amount first. Returns a request id.
write claim(uint256)
Claim the ETH for a finalized withdrawal request. Argument: the request id. Only works after the request is finalized, and the ETH goes to the request owner.
read getRequestIdsByUser(address)
All withdrawal request ids opened by a user. Use it to find claimable requests.
read userWithdrawRequests(uint256)
Returns owner, ethXAmount, ethExpected, ethFinalized, requestBlock for a request id. A request is ready to claim when ethFinalized is above zero.
read nextRequestIdToFinalize()
The next request id waiting to be finalized. Requests below this id are finalized.
read nextRequestId()
The id the next withdrawal request will receive.
read paused()
True when withdrawals are paused.
ETHx tokentoken on ethereum0xA35b1B31Ce002FBF2058D22F30f95D405200A15b
write approve(address,uint256)
Approve a spender for an ETHx amount. Approve the UserWithdrawalManager before requestWithdraw.
read balanceOf(address)
ETHx balance of an address, 18 decimals.
read allowance(address,address)
Remaining ETHx a spender may pull from an owner.
write transfer(address,uint256)
Send ETHx to another address. Amount in wei (18 decimals).
ETHx token (Arbitrum)token on arbitrum0xED65C5085a18Fa160Af0313E60dcc7905E944Dc7
read balanceOf(address)
ETHx balance on Arbitrum, 18 decimals.
write transfer(address,uint256)
Send ETHx on Arbitrum. Amount in wei. This is the bridged token; minting and redeeming happen on Ethereum.
ETHx token (Optimism)token on optimism0xc54B43eaF921A5194c7973A4d65E055E5a1453c2
read balanceOf(address)
ETHx balance on Optimism, 18 decimals.
write transfer(address,uint256)
Send ETHx on Optimism. Amount in wei. This is the bridged token; minting and redeeming happen on Ethereum.