# Dividends

[Dividends](https://docs.camelot.exchange/~/changes/F9vNjZ7AyeSVPJ0LX9RH/protocol/xgrail-plugins/dividends) distribute protocol earnings, to users in 7-days cycles who have allocated their xGRAIL tokens to this plugin. The accumulated tokens are obtained from transaction fees paid by other users. The distribution is based on a weekly epoch logic: every week, a fixed part of the owner-defined accumulated tokens is marked as to be distributed.

{% hint style="info" %}
For example, a user allocates 100 xGRAIL tokens to dividends. Every week, a new epoch starts, and rewards are reloaded. During each epoch, the user receives a portion of the protocol earnings, which is distributed to dividend stakeholders continuously. If the user chooses to remove their xGRAIL tokens from dividends, a 0.5% deallocation fee is charged, resulting in 99.5 xGRAIL tokens for the user, along with any rewards earned through allocation duration
{% endhint %}

{% hint style="danger" %}
A 0.5% fee is applied each time you wish to deallocate your xGRAIL from dividends
{% endhint %}

{% hint style="warning" %}
Pending rewards from dividends can be harvested at any time
{% endhint %}

### **Instructional video**

#### Allocation, rewards claim and deallocation

{% embed url="<https://streamable.com/arbn7m>" %}

### Page description

<figure><img src="https://3420642431-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHBFQDThxW7Uo7iHfOHG5%2Fuploads%2F46XmjZI3O1DGN275A6VM%2FxGRAIL%20-%20Dividends.png?alt=media&#x26;token=e567b8d0-28e6-4d14-8a10-82e8879243d5" alt=""><figcaption></figcaption></figure>


---

# 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.camelot.exchange/~/changes/F9vNjZ7AyeSVPJ0LX9RH/get-started/get-started-on-camelot-and-faq/xgrail-plugins/dividends.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.
