Lido

Lido guide is a liquid staking resource for wstETH collateral in Ethereum DeFi

Lido guide is a focused procedure for wrapping rebasing stETH into static-balance wstETH, supplying that token to an Ethereum lending market, borrowing below the market's liquidation boundary, and monitoring the resulting health factor. It preserves Lido staking exposure while the collateral remains locked in the lending contract.

In short: A health factor of 1 marks Aave's liquidation boundary, so a usable buffer matters more than maximum borrowing power.

wstETH now carries Lido staking value through a static balance

wstETH makes Lido's stETH position usable as Ethereum lending collateral because its wallet balance stays fixed while the token's stETH redemption value changes through share accounting.

stETH rebases: its displayed balance reflects the holder's share of pooled ether after Lido accounting updates. A lending contract works more cleanly with a balance that does not move outside transfers, minting, or burning. The wstETH contract implements three Ethereum standards: ERC-20, ERC-2612, and EIP-712. On Ethereum mainnet, chain ID 1 identifies the network, and one whole wstETH is represented by 10^18 base units. The wrapper maps 1 wei of wstETH to 1 wei of stETH shares, so quantity stays static as each share represents a changing amount of stETH.

Wrapping uses the contract's share conversion, not a market swap. A zero-amount wrap or unwrap reverts, and neither method adds a percentage fee.

Starting from stETH, set an allowance for the wrapper and then call wrap. Starting from ETH, the receive function submits ETH to Lido and mints wstETH in one transaction. The getWstETHByStETH and getStETHByWstETH view methods preview both conversion directions before any state-changing call.

How does wstETH collateral create liquidation risk?

wstETH collateral creates liquidation risk when oracle-valued debt crosses the lending market's threshold, even though the supplied token continues to reflect Lido staking value inside the contract.

On Aave, health factor equals collateral value multiplied by the weighted liquidation threshold, divided by total borrow value. Aave treats a health factor below 1 as eligible for liquidation. The boundary is not a recommended target. A falling wstETH oracle price reduces the numerator; accrued debt increases the denominator; governance changes to collateral parameters alter available headroom. Borrowing WETH reduces cross-asset price mismatch compared with borrowing USDC or DAI, yet a wstETH-to-WETH deviation and variable borrowing interest still compress the buffer.

The liquidation amount also follows position-level rules. When health factor remains above 0.95 and both collateral and debt are at least $2 000, Aave permits liquidation of up to 50% of debt. At 0.95 or lower, or when either side is below $2 000, the allowance rises to 100%. A partial liquidation must leave at least $1 000 of both debt and collateral; otherwise, the position is cleared in full.

Those rules make health factor 1 the line that matters.

Hotel pool beside beach and sea

Oracle paths keep wrapper value and collateral value separate

A wstETH loan depends on two distinct valuations: Lido's stETH-per-wstETH wrapper rate and the lending market's oracle price for wstETH against the chosen debt asset.

The wrapper rate answers how much stETH one wstETH unwraps into; it does not quote a decentralized-exchange sale price. The market oracle translates wstETH into WETH, USD, or another accounting unit. Chainlink is a common oracle component, while Morpho Blue encodes an oracle address inside each isolated market's immutable five-parameter definition.

Reading the wrapper rate

Read stEthPerToken for stETH per 1 wstETH, or tokensPerStEth for wstETH per 1 stETH. Both functions use 10^18-scale base units. The get-prefixed methods accept arbitrary amounts, which avoids multiplying a displayed rate and losing precision. Because wrapper value follows Lido shares, the wstETH wallet balance does not increase after an accounting report.

Reading the lending oracle

Aave aggregates collateral and debt values into health factor. Morpho Blue instead binds one collateral asset, one loan asset, an oracle, a liquidation loan-to-value, and an interest-rate model. Its governance-approved LLTV set has nine values: 0%, 38.5%, 62.5%, 77%, 86%, 91.5%, 94.5%, 96.5%, and 98%. Each Morpho Blue market fixes exactly five parameters when created, so two wstETH markets can carry different rules even when both use WETH as the loan asset. The wider context is laid out in Using Lido.

Debt denominated in WETH

WETH debt links both sides to Ethereum's native asset, reducing broad market-direction mismatch. The remaining spread comes from the wstETH wrapper rate, the selected oracle path, accrued interest, and available liquidation liquidity.

Debt denominated in stablecoins

USDC or DAI debt adds the ETH-to-dollar price path to the position. A rising dollar value of the debt relative to wstETH lowers collateral headroom, even when Lido share accounting continues normally; the selected oracle therefore connects Lido collateral to a stable debt unit such as USDC.

Beachfront road beside rows of colorful umbrellas
Beachfront road beside rows of colorful umbrellas

How much can you borrow without using the maximum?

A borrower sets debt below the protocol maximum by choosing a target health factor, then solving the market's health-factor equation with the displayed collateral and debt values.

The maximum loan-to-value is an entry ceiling, while the liquidation threshold defines the later boundary. Protocol parameter displays also use basis points; 100 basis points equal one percentage point. Interest begins immediately after borrowing, making the opening debt a moving value.

Worked example

This worked example uses five changing inputs, all hypothetical: 12 stETH, a wrapper rate of 1.20 stETH per wstETH, an oracle value of $3 000 per wstETH, an 80% liquidation threshold, and a target health factor of 2.00. Dividing 12 by 1.20 produces 10 wstETH. That collateral is worth $30 000 at the stated oracle value. Applying the threshold gives $24 000 of risk-adjusted collateral, and dividing by 2.00 produces a $12 000 opening debt. The concrete result is a 10 wstETH collateral position supporting $12 000 of debt at health factor 2.00.

A target of 2.00 gives the collateral room to halve in value before health factor reaches 1, provided debt value and parameters stay unchanged. Interest accrual, oracle movement, and a changed threshold move that point. Recalculate after each borrow or withdrawal, then confirm the displayed health factor remains near the chosen 2.00.

Repayment releases collateral before unwrapping restores rebasing stETH

A wstETH position closes cleanly when the borrower repays the debt, withdraws the released collateral, and unwraps only after the lending contract returns the tokens.

Repayment of an ERC-20 debt token such as USDC normally needs an allowance followed by the repay call. Full repayment must include interest accrued through transaction execution; choosing an interface's full-repay option avoids leaving a small balance. After the debt reaches zero, withdraw wstETH. The wrapper's unwrap function burns a nonzero wstETH amount and transfers the corresponding stETH amount, using the rate at execution. An on-chain stETH withdrawal is a separate Lido workflow and should not be confused with unwrapping, which simply changes token representation.

Ethereum divides time into 12-second slots and 32-slot epochs, so one epoch lasts 384 seconds, or 6.4 minutes. Those constants describe consensus cadence, not guaranteed transaction inclusion. Gas bidding, wallet sequencing, and market liquidity determine how quickly repay and withdrawal operations execute. If wstETH was supplied to Aave, the safe order is repay, confirm health factor recovery, withdraw, and then unwrap. Compound III's Bulker can group supported operations into one transaction, but its Comet market still requires debt solvency before collateral leaves. The sequence finishes with stETH in the wallet, not with ETH from the Lido withdrawal queue.

Palm fronds partially obscure an ornate villa
Palm fronds partially obscure an ornate villa

Position design favors borrowers with a defined use for liquidity

wstETH collateral fits borrowers who need WETH, USDC, DAI, or another supported asset while retaining economic exposure to Lido staking inside an overcollateralized position on Ethereum.

The position needs a purpose stronger than merely reaching the interface maximum. Borrowing WETH for short-lived liquidity keeps both sides ETH-linked, whereas borrowing a stablecoin introduces a wider price relationship.

Looping borrowed WETH back into wstETH increases both staking exposure and debt, so every iteration narrows room for rate changes and oracle divergence. A single unlooped position is easier to unwind because one repayment releases the original collateral.

Without batching, permit signatures, or existing allowances, a standard Aave path starting from stETH uses five core on-chain actions: approve the wrapper, wrap, approve the lending pool, supply, and borrow. Starting from wstETH removes the first two, leaving three core actions. ERC-2612 permits may replace an approval transaction with a signed message where the receiving application supports it. These counts explain why wallets should retain ETH for gas after committing collateral.

A useful Lido guide for collateral stops at a controllable initial position: one verified Ethereum market, one debt asset, and one explicit buffer metric. Aave emphasizes health factor, Morpho Blue exposes LLTV per isolated market, and Compound III ties borrowing to one base asset per Comet market. An Ethereum wstETH/WETH position therefore ends with Aave health factor or Morpho Blue LLTV as its named control.

Details worth knowing about Lido guide

Are Lido rewards and lending supply interest recorded separately?

Yes, Lido staking accrual and lending-market interest use separate accounting paths. wstETH reflects Lido staking through its changing stETH-per-token rate, while a lending protocol records any supply return through its own reserve or position index. Borrow interest is another line item, so compare the debt rate against both accrual sources.

How much ETH should remain in the wallet for transaction fees?

Ethereum transaction fees equal gas used multiplied by the effective gas price, so no durable wallet balance covers every sequence. Wrapping, approving, supplying, borrowing, repaying, withdrawing, and unwrapping each consume gas unless a supported batching or permit flow removes a transaction. Estimate the complete sequence in the wallet, then leave additional ETH for later repayment management.

Does ERC-2612 remove every approval transaction for wstETH?

No, ERC-2612 removes an on-chain approval only when both the token and receiving application implement the permit flow. The signed message carries an owner, spender, value, nonce, and deadline under EIP-712. wstETH implements the standard, yet the lending interface must submit or consume that permit; otherwise, a normal approval transaction remains necessary.

When should Aave E-Mode be selected for wstETH borrowing?

Aave E-Mode belongs only in a position whose selected collateral and debt assets are accepted by the displayed efficiency category. For wstETH, an ETH-correlated category can grant tighter parameters when borrowing WETH, but the category constrains eligible assets and magnifies sensitivity near the boundary. Read the category's live loan-to-value and liquidation threshold before entering it.

Why does the wallet show zero wstETH after supplying collateral?

Supplying transfers free wstETH from the wallet into the lending protocol, so the token balance may fall to zero while the supplied position remains recorded. Aave and Morpho Blue keep the collateral inside protocol accounting. Check the connected account view and transaction receipt rather than expecting the original wstETH to remain idle in the wallet.