> For the complete documentation index, see [llms.txt](https://docs.notional.finance/notional-v3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.notional.finance/notional-v3/fixed-rate-liquidity-pools/fixed-rate-liquidity-pool-mechanics.md).

# Fixed Rate Liquidity Pool Mechanics

Liquidity providers deposit Prime Cash and fCash into liquidity pools and act as counterparty to the lenders and borrowers on that liquidity pool. In exchange for enabling end users to lend and borrow, the liquidity provider earns interest on their assets in the liquidity pool + fees every time a user lends or borrows.

### Liquidity Tokens

When an LP deposits into a liquidity pool, they receive liquidity tokens. Liquidity tokens are an asset that represents a proportional share of the total Prime Cash and fCash in the liquidity pool. Liquidity tokens are redeemable for their share of the pool's Prime Cash and fCash at any time.

<figure><img src="/files/3VqCHnuRDQT9stzuLdJc" alt=""><figcaption></figcaption></figure>

### Providing liquidity

To deposit into a liquidity pool, the LP will specify how much Prime Cash they want to deposit and then the fCash amount can be calculated from the liquidity pool's Prime Cash/fCash proportion.

In order to provide the fCash to the liquidity pool, the LP will mint a pair of positive and negative fCash tokens. The LP will then put the Prime Cash + positive fCash into the pool and keep the negative fCash in their portfolio. This allows the LP to provide liquidity to the pool without having to buy fCash.

For example, to provide 100 DAI in liquidity to a liquidity pool that is 50% Prime DAI and 50% fDAI, the LP would need to mint a pair of +100 fDAI and -100 fDAI. The LP would then convert their DAI into Prime DAI, and put the Prime DAI + fDAI into the liquidity pool in exchange for liquidity tokens.

This would leave the LP with -100 fDAI + liquidity tokens.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.notional.finance/notional-v3/fixed-rate-liquidity-pools/fixed-rate-liquidity-pool-mechanics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
