> For the complete documentation index, see [llms.txt](https://docs.idrx.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.idrx.co/smart-contract/staking.md).

# Staking

The IDRX Staking Contract allows users to stake their IDRX stablecoins and earn rewards over a specified duration. This documentation outlines the available stake types, contract functions, and emitted events for seamless integration

{% content-ref url="/pages/rHvL3qRqaohsltmFJKDs" %}
[Staking Type](/smart-contract/staking/staking-type.md)
{% endcontent-ref %}

{% content-ref url="/pages/2BfxCbI7OgoyJHSAdsn5" %}
[Staking IDRX](/smart-contract/staking/staking-idrx.md)
{% endcontent-ref %}

{% content-ref url="/pages/c0ZhHbsUWicJzZHcKocB" %}
[Claim Staking Reward](/smart-contract/staking/claim-staking-reward.md)
{% endcontent-ref %}

{% content-ref url="/pages/TN4RfHvURErnEiwiXkAQ" %}
[Unbond Staked IDRX](/smart-contract/staking/unbond-staked-idrx.md)
{% endcontent-ref %}

{% content-ref url="/pages/FAoi7mI22NszG81WhD6H" %}
[Claim Principal and Staking Rewards](/smart-contract/staking/claim-principal-and-staking-rewards.md)
{% endcontent-ref %}

{% content-ref url="/pages/3DEvN9rV6IXIW6rU7Tnr" %}
[Application Binary Interface](/smart-contract/staking/application-binary-interface.md)
{% endcontent-ref %}


---

# 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:

```
GET https://docs.idrx.co/smart-contract/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.
