> ## 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.

# Ethena

> Stake USDe to earn yield through Ethena's sUSDe

## What this yield is

* **Protocol**: Ethena Protocol
* **Asset**: Ethena USD (USDe)
* **Receipt token**: Staked USDe (sUSDe)
* **Additional rewards**: Sats (Ethena points)
* **Unbonding period**: 7 days
* **Network**: Ethereum

<Note>
  When you stake USDe with Ethena, you receive sUSDe and start earning immediately. Rewards are automatically credited to your deposit every 8 hours. Stakers also earn Ethena Sats as part of their points program.
</Note>

## Required inputs

| Parameter | Description                    |
| --------- | ------------------------------ |
| `yieldId` | `ethereum-usde-ethena-staking` |
| `address` | User's wallet address          |
| `amount`  | Amount of USDe to stake        |

## Actions & lifecycle

<Tabs>
  <Tab title="Enter">
    **Action**: Stake USDe

    * Deposit USDe into Ethena
    * Receive sUSDe representing your stake
    * Begin earning yield immediately
    * Rewards credited every 8 hours
  </Tab>

  <Tab title="Exit">
    **Action**: Unstake sUSDe

    * Initiate unstaking request
    * 7-day unbonding period begins
    * After unbonding, claim via pending action
  </Tab>

  <Tab title="Pending actions">
    **WITHDRAW**: Claim unstaked USDe

    After the 7-day unbonding period, use the `WITHDRAW` pending action to claim your USDe.
  </Tab>
</Tabs>

## Example flow

<Steps>
  <Step title="Get yield metadata">
    Fetch Ethena staking yield details.
  </Step>

  <Step title="Enter position">
    Stake USDe to receive sUSDe.
  </Step>

  <Step title="Sign & submit">
    Sign the transaction and broadcast.
  </Step>

  <Step title="Track balances">
    Monitor your position via the balances endpoint.
  </Step>
</Steps>

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

  ```bash Enter position 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-usde-ethena-staking",
      "address": "0xYOUR_ADDRESS",
      "arguments": {
        "amount": "1000"
      }
    }'
  ```

  ```bash Withdraw (after unbonding) theme={null}
  curl --request POST \
    --url https://api.yield.xyz/v1/actions/manage \
    --header 'accept: application/json' \
    --header 'content-type: application/json' \
    --header 'x-api-key: <API_KEY>' \
    --data '{
      "yieldId": "ethereum-usde-ethena-staking",
      "address": "0xYOUR_ADDRESS",
      "pendingAction": {
        "type": "WITHDRAW"
      }
    }'
  ```
</CodeGroup>

## Operational notes

<AccordionGroup>
  <Accordion title="7-day unbonding period">
    After initiating unstaking, users must wait 7 days before claiming their USDe. Track progress via the balances endpoint.
  </Accordion>

  <Accordion title="Ethena Sats">
    Stakers earn Sats as part of Ethena's points program, in addition to staking rewards.
  </Accordion>

  <Accordion title="Automatic reward accrual">
    Rewards are credited automatically every 8 hours. No claiming required for base yield.
  </Accordion>
</AccordionGroup>

## Yield IDs for this protocol

<AccordionGroup>
  <Accordion title="Show Ethena yield IDs">
    | Yield ID                     | Name                |
    | ---------------------------- | ------------------- |
    | ethereum-usde-ethena-staking | Ethena USDe Staking |
  </Accordion>
</AccordionGroup>

## See also

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/documentation/getting-started/quickstart">
    Get started with Yield.xyz
  </Card>

  <Card title="Actions & Balances" icon="arrow-right-arrow-left" href="/documentation/core-concepts/actions-and-transactions">
    Understand how actions work
  </Card>
</CardGroup>
