> For the complete documentation index, see [llms.txt](https://docs.notional.finance/notional-v2/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-v2/ntokens/ntoken-mechanics/minting-ntokens.md).

# Minting nTokens

When a user mints nTokens, they deposit cTokens into the nToken account and the nToken distributes their liquidity to the individual liquidity pools.

Here is a step-by-step flow of minting nTokens.

1. A user deposits cash (in this example, DAI) into the nToken account.

<figure><img src="/files/oFl4uzaiwUlp0CjyUAhp" alt=""><figcaption></figcaption></figure>

2. To provide liquidity, the nToken account needs to mint fCash for each liquidity pool and deposit it in the proper proportion. The second step is for the nToken to fetch the proportion data from the liquidity pools

<figure><img src="/files/37PQpaDs4B7oipm3qPgo" alt=""><figcaption></figcaption></figure>

3. Based on the proportion data fetched from the liquidity pools, the nToken mints the fCash pair for each maturity. Find background on how this process works [here](/notional-v2/liquidity-pools/liquidity-pool-mechanics.md).

<figure><img src="/files/G1FBSeeLFjMYC6GEwa3A" alt=""><figcaption></figcaption></figure>

4. The nToken allocates the cash and fCash to the different liquidity pools based on the deposit shares.

<figure><img src="/files/EtYAMWcbFxhsweydepJR" alt=""><figcaption></figcaption></figure>

5. The nToken receives liquidity tokens in exchange for the liquidity provided to the pools.

<figure><img src="/files/hhM03WRgXoNRZddnKNCj" alt=""><figcaption></figcaption></figure>

6. Lastly, Notional mints nTokens and gives them to the user.

<figure><img src="/files/pvLTuNxRSJg8WB5Oz4b2" alt=""><figcaption></figcaption></figure>


---

# 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-v2/ntokens/ntoken-mechanics/minting-ntokens.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.
