> ## Documentation Index
> Fetch the complete documentation index at: https://yieldxyz.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Lido

> Liquid staking for ETH and MATIC via Lido

Lido is the largest liquid staking protocol, offering stETH for Ethereum and stMATIC for Polygon. Stake assets and receive liquid tokens while earning staking rewards.

***

## What this yield is

* **Protocol**: Lido
* **Mechanism**: Stake ETH/MATIC, receive stETH/stMATIC
* **Rewards**: Daily rebase (stETH balance increases)
* **Unbonding**: 2–5 days for protocol withdrawal queue
* **Networks**: Ethereum, Polygon

***

## Available yields

| Yield ID                      | Token In | Token Out | Network  |
| ----------------------------- | -------- | --------- | -------- |
| `ethereum-eth-lido-staking`   | ETH      | stETH     | Ethereum |
| `ethereum-matic-lido-staking` | MATIC    | stMATIC   | Ethereum |

***

## Required inputs

| Argument | Required | Description                         |
| -------- | -------- | ----------------------------------- |
| `amount` | Yes      | Amount to stake (in token decimals) |

***

## Actions & lifecycle

<Tabs>
  <Tab title="Enter">
    * Single transaction for native ETH
    * Approval + stake for MATIC
    * Receive stETH/stMATIC immediately
    * Rewards begin accruing next day
  </Tab>

  <Tab title="Exit">
    * Request withdrawal via protocol
    * Enter withdrawal queue (2–5 days)
    * Claim ETH after queue completes
    * Alternative: Swap stETH on DEX for instant liquidity
  </Tab>
</Tabs>

***

## Example flow

<CodeGroup>
  ```bash Get yield metadata theme={null}
  curl --request GET \
    --url https://api.yield.xyz/v1/yields/ethereum-eth-lido-staking \
    --header 'accept: application/json' \
    --header 'x-api-key: <API_KEY>'
  ```

  ```bash Enter staking theme={null}
  curl --request POST \
    --url https://api.yield.xyz/v1/actions/enter \
    --header 'accept: application/json' \
    --header 'content-type: application/json' \
    --header 'x-api-key: <API_KEY>' \
    --data '{
      "yieldId": "ethereum-eth-lido-staking",
      "address": "0xYOUR_ADDRESS",
      "arguments": { "amount": "1000000000000000000" }
    }'
  ```
</CodeGroup>

***

## Operational notes

<AccordionGroup>
  <Accordion title="Rebase token (stETH)">
    stETH is a rebase token — your balance increases daily as rewards accrue. 1 stETH always equals 1 ETH of staked value.
  </Accordion>

  <Accordion title="Withdrawal queue">
    Protocol withdrawals take 2–5 days depending on queue length. For instant liquidity, swap stETH on Curve or other DEXes.
  </Accordion>

  <Accordion title="wstETH">
    For DeFi composability (where rebase is problematic), use wstETH — wrapped stETH with a fixed balance but appreciating exchange rate.
  </Accordion>
</AccordionGroup>

***

## See also

<CardGroup cols={2}>
  <Card title="Liquid Staking Overview" icon="droplet" href="/documentation/coverage/supported-yields/defi/liquid-staking">
    All liquid staking protocols
  </Card>

  <Card title="Rocket Pool" icon="rocket" href="/documentation/coverage/supported-yields/defi/liquid-staking/rocketpool">
    Decentralized alternative
  </Card>
</CardGroup>
