> For the complete documentation index, see [llms.txt](https://doc.armadillo.is/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.armadillo.is/getting-started/buying-a-protection.md).

# Buying a Protection

[Armadillo](https://armadillo.is) allows users to protect their LP tokens from Impermanent Loss (IL) in 3 simple steps.

## Step 1

The user must connect his wallet to the [Armadillo](https://armadillo.is) platform via the Polygon network. After connecting to the platform, the system will present the type of pairs which you provide liquidity with, and the LP tokens worth is USD at that moment. In addition, the platform will show the highest Impermanent Loss (IL) percentage that occurred in a span of 60 days during the last 18 months for that pair.

![](/files/zxh96N3ioFxXhN6sfMfA)

## **Step 2**

After clicking the “Buy protection” button, a widget will pop up with the IL protection details. In this model, the user must choose:&#x20;

A. The value worth of the LP tokens he would like to protect. By default, it will be populated with the user's current Liquidity provided on different Defi platforms.&#x20;

B. The protection period. The user can choose between 14, 30, 60 days of protection.

![](/files/C796QBkWSxbkrkT5DxyI)

## Step 3

After choosing the amount and the time of the protection the system will calculate the premium cost, and the user can press the confirm button in order to complete the purchase. The impermanent loss protection purchased will be reflected as an NFT that represents the coverage value, the appropriate time frame, and the pair selected by the user. Through this, any impermanent loss incurred will be automatically refunded to the user's wallet for that time duration in a seamless, decentralized and autonomous manner.


---

# 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://doc.armadillo.is/getting-started/buying-a-protection.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.
