# Details

The NFT/SFT staking contract is quite close to the staking contract as it allow anyone to deposit staking rewards. But this time, final users will have to stake NFT or SFT to harvest them.

NFT staking can be configured with few more options to improve use cases :&#x20;

* NFT/SFT collection to stake&#x20;
* ESDT token to be rewarded to participant
* Amount of esdt to distribute over time
* Speed of distribution (in days)
* Nonce restriction (all nonce or only one nonce)&#x20;
* Vesting (in days) min 0, max 40
* Unbonding (in days) min 0, max 10

If one reward pool already exist and all 6 params are strictly identical, rewards will be add to existing pool

Speed param define how fast tokens will be distributed to users participating in nft staking.

Lets say that one user has **2/5** of the staked NFT in one pool with **1000** tokens left to distribute at a speed of **10 days** and no other user will claim tokens in this scenario.

If our user wait 3 days to claim tokens after entering pool he will receive :&#x20;

tokens / share of the pool / speed \* time\_spent

1000 / 5\*2 / 10 \* 3 = 120 tokens

for 5 days :&#x20;

1000 / 5\*2 / 10 \* 5 = 200 tokens

for 10 days :&#x20;

1000 / 5\*2 / 10 \* 10 = 400 tokens


---

# 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.middlestaking.fr/contracts/nft-sft-staking-contract/details.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.
