> For the complete documentation index, see [llms.txt](https://docs.camelot.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.camelot.exchange/get-started/castle-tutorials/utilize-xgrail/redeem-xgrail.md).

# Redeem xGRAIL

The vesting process allows you to redeem xGRAIL for GRAIL tokens by considering the following ratio and output rates:

* Minimum duration - 15 days (50% GRAIL output)
* Maximum duration - 6 months (100% GRAIL output)

{% hint style="danger" %}
If you choose a vesting duration that's less than the maximum (ratio <100%), the remaining GRAIL will be burned
{% endhint %}

{% hint style="warning" %}
As your xGRAIL vest, 50% of the amount is automatically staked in the [real yield staking plugin](https://app.camelot.exchange/xgrail/staking) earning you rewards while the vesting period continues
{% endhint %}

### Example of the mechanics

{% hint style="info" %}
For example, if you redeem 100 xGRAIL for a 90-day (3-month) vesting period, you will receive 72.3% of the GRAIL output, resulting in 72.3 claimable GRAIL after 90 days. Simultaneously, 50 xGRAIL will be staked in the real yield plugin, generating rewards that you can harvest at any point during the vesting duration
{% endhint %}

Should a redemption be cancelled before its completion, the entire process will be nullified. The user will then recover the total amount of xGRAIL being redeemed, and receive no GRAIL.

### Step-By-Step Guide

<figure><img src="/files/xcEPhmNuhTkn1ySx53lH" 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.camelot.exchange/get-started/castle-tutorials/utilize-xgrail/redeem-xgrail.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.
