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

# Curve

> Access Curve Savings and Lending markets for crvUSD yield

## What this yield is

* **Protocol**: Curve Finance (Savings + Lending)
* **Asset**: crvUSD
* **Receipt token**: scrvUSD (Savings) or cvcrvUSD (Lending)
* **Networks**: Ethereum, Arbitrum, Optimism

<Note>
  Curve provides two yield products: Curve Savings (scrvUSD) for passive yield, and Curve Lending (LLAMMA markets) for earning from borrower interest.
</Note>

## Required inputs

| Parameter | Description                 |
| --------- | --------------------------- |
| `yieldId` | The specific Curve yield ID |
| `address` | User's wallet address       |
| `amount`  | Amount to deposit           |

## Curve products

<Tabs>
  <Tab title="Curve Savings">
    **Passive yield with scrvUSD**

    * Deposit crvUSD, receive scrvUSD
    * Yield accrues automatically via Yearn v3 strategies
    * No claiming required
    * Anchored to Sky Savings Rate
  </Tab>

  <Tab title="Curve Lending">
    **Earn from LLAMMA markets**

    * Supply crvUSD to isolated lending markets
    * Earn interest from borrowers
    * LLAMMA uses soft liquidations instead of hard liquidations
    * Multiple collateral types available
  </Tab>
</Tabs>

## Actions & lifecycle

<Tabs>
  <Tab title="Enter">
    **Action**: Deposit crvUSD

    * Supply crvUSD
    * Receive scrvUSD or cvcrvUSD
    * Begin earning yield immediately
  </Tab>

  <Tab title="Exit">
    **Action**: Withdraw crvUSD

    * Redeem tokens for crvUSD
    * Receive principal plus accrued yield
    * Instant for Savings; subject to liquidity for Lending
  </Tab>
</Tabs>

## Example flow

<Steps>
  <Step title="Get yield metadata">
    Fetch available Curve yields and their current rates.
  </Step>

  <Step title="Enter position">
    Call the enter action with your deposit amount.
  </Step>

  <Step title="Sign & submit">
    Sign the transaction and broadcast to the network.
  </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-crvusd-scrvusd-0x0655977feb2f289a4ab78af67bab0d17aab84367-4626-vault' \
    --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-crvusd-scrvusd-0x0655977feb2f289a4ab78af67bab0d17aab84367-4626-vault",
      "address": "0xYOUR_ADDRESS",
      "arguments": {
        "amount": "1000"
      }
    }'
  ```
</CodeGroup>

## Operational notes

<AccordionGroup>
  <Accordion title="No pending actions">
    Both Curve Savings and Lending have no pending actions. Yield accrues automatically.
  </Accordion>

  <Accordion title="Lending liquidity">
    Curve Lending withdrawals are instant but depend on available crvUSD liquidity in the market.
  </Accordion>

  <Accordion title="TVL filter">
    Yield API retrieves Curve Lending opportunities with TVL >\$10,000 to avoid oversaturation of small yields.
  </Accordion>

  <Accordion title="Market naming">
    Curve Lending yields include the collateral asset in the name (e.g., "crvUSD Curve Lending (WETH)").
  </Accordion>
</AccordionGroup>

## Yield IDs for this protocol

<AccordionGroup>
  <Accordion title="Show Curve yield IDs (partial list)">
    ### Curve Savings

    | Yield ID                                                                      | Name                 |
    | ----------------------------------------------------------------------------- | -------------------- |
    | ethereum-crvusd-scrvusd-0x0655977feb2f289a4ab78af67bab0d17aab84367-4626-vault | Curve Savings crvUSD |

    ### Curve Lending - Ethereum

    | Yield ID                                                                       | Name                          |
    | ------------------------------------------------------------------------------ | ----------------------------- |
    | ethereum-crvusd-cvcrvusd-0x5ae28c9197a4a6570216fc7e53e7e0221d7a0fef-4626-vault | crvUSD Curve Lending (WETH)   |
    | ethereum-crvusd-cvcrvusd-0xb2b23c87a4b6d1b03ba603f7c3eb9a81fdc0aac9-4626-vault | crvUSD Curve Lending (tBTC)   |
    | ethereum-crvusd-cvcrvusd-0x21cf1c5dc48c603b89907fe6a7ae83ea5e3709af-4626-vault | crvUSD Curve Lending (wstETH) |
    | ethereum-crvusd-cvcrvusd-0x4a7999c55d3a93daf72ea112985e57c2e3b9e95d-4626-vault | crvUSD Curve Lending (sUSDe)  |

    ### Curve Lending - Arbitrum

    | Yield ID                                                                       | Name                        |
    | ------------------------------------------------------------------------------ | --------------------------- |
    | arbitrum-crvusd-cvcrvusd-0x49014a8eb1585cbee6a7a9a50c3b81017bf6cc4d-4626-vault | crvUSD Curve Lending (WETH) |
    | arbitrum-crvusd-cvcrvusd-0x60d38b12d22bf423f28082bf396ff8f28cc506b1-4626-vault | crvUSD Curve Lending (WBTC) |

    *Full list contains 30+ lending markets across networks.*
  </Accordion>
</AccordionGroup>

## See also

<CardGroup cols={2}>
  <Card title="LPing with Curve" icon="arrows-rotate" href="/documentation/coverage/supported-yields/defi/lping/curve">
    Liquidity provision on Curve
  </Card>

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