# Staking

Our staking mechanism allows users to earn rewards in our native token, $ANUB, simply by staking their tokens in our protocol. The rewards are distributed proportionally to the amount of tokens staked and the duration of the staking period. The longer the staking period, the greater the rewards.

The formula for calculating the rewards for staking is as follows:

*$ANUB reward = (total $ANUB reward pool / total tokens staked) \* (tokens staked / total tokens staked) \* (staking duration / total staking duration)*

This formula ensures that the rewards are distributed fairly and proportionally to each staker based on their staked amount and staking duration.


---

# 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://anubis-finance-1.gitbook.io/anubis-finance/advanced-staking-mechanism/staking.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.
