# How to buy/sell AGLP

## How to get AGLP token

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

Switch to 'Pool' tab and you will see a AGLP purchase window on the right hand side.

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

## Buy AGLP

To make it easier for newcomers to get AGLP, 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 AGLPs respectively.

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

1. 1000 USDT will be locked in the AGDEX protocol pool
2. 984.306905 AGLP 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 AGLP tokens to redeem their index assets.

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


---

# Agent Instructions: 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.agdex.io/for-lps/provide-liquidity/how-to-buy-sell-aglp.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.
