> For the complete documentation index, see [llms.txt](https://docs.mmex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mmex.io/for-lp/provide-liquidity/how-to-buy-sell-mmlp.md).

# How to buy/sell MMLP

## How to get MMLP token

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

Switch to 'Pool' tab and you will see a MMLP purchase window

<figure><img src="/files/C2e1FKuQqC66Me2d9PiE" alt="" width="375"><figcaption></figcaption></figure>

## Buy MMLP

To make it easier for newcomers to get MMLP, we use the verbs "Buy" and "Sell". But in fact, this is not an ordinary trading action, the smart contract behind it is minting and burning MMLPs respectively.

You can choose any of the index tokens to mint MMLP token. For example, if a user wants to pay 1000 USDT to buy MMLP, below 2 actions will be generated

1. 1000 USDT will be locked in the MMEX protocol pool
2. 984.306905 MMLP token has been minted according to the latest exchange rate between AGLP and USDC

## Sell AGLP

Same as above, selling AGLP means users want to burn their MMLP tokens to redeem their index assets.

Liquidity providers has full rights to choose to redeem their assets back at any time.


---

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

```
GET https://docs.mmex.io/for-lp/provide-liquidity/how-to-buy-sell-mmlp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
