# Staking

<figure><img src="/files/NTh3HM3YdDaUhQwYBiHF" alt=""><figcaption></figcaption></figure>

#### How does staking work?

Staking Pools at the heart of Staking. This is a modern tool in DeFi and a great extension of the Ton Raffles ecosystem, where users can place their assets into specific pools. These pools represent smart contracts where assets are stored safely and can be retrieved back to the wallet at any moment.

After placing assets in one of the pools, users start receiving rewards that are automatically accrued. The amount rewarded depends on one of the following two Pool Types:

* **Pool with static rewards** - in this case there are fixed lock-up periods and guaranteed rewards.
* **Pool with dynamic rewards** - in this case staking can be performed for an unlimited period of time and the rewards depend on the total value of locked-in assets (TVL), the staking period and the annual percentage rate (APY).


---

# 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://gitbook.tonraffles.org/ton-raffles/modules/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.
