> For the complete documentation index, see [llms.txt](https://document.sunprotocol.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://document.sunprotocol.io/zhi-neng-he-yue/nftfee-he-yue.md).

# Nftfee合约

NFT Fee 将合约持有的 USDT 按轮次计算并分配给节点 NFT 与超级节点 NFT。普通持有人在此查询分配进度；真正的用户领取位于 NFT Dividend。

### 轮次查询

| 函数                          | 用途                          |
| --------------------------- | --------------------------- |
| `activeRoundId()`           | 当前正在处理的轮次；`0` 表示没有活跃轮次      |
| `nextRoundId()`             | 下一轮编号                       |
| `getActiveRoundProgress()`  | 当前轮次阶段和节点/超级节点处理进度          |
| `getRoundAmounts(roundId)`  | 轮次总额、两类分配额、单 NFT 金额、尾差和已分配额 |
| `getRoundProgress(roundId)` | 快照数量、游标、创建/完成时间和完成状态        |

分配比例可通过 `NODE_SHARE_BPS()` 查询；分母是 `DENOMINATOR()`。当前源码中节点和超级节点各占 50%。每个地址的分配额还与其在轮次快照中的 NFT 持有数量有关。

`nftdiv()` 和 `finalizeRound()` 是授权执行者调用的写入函数，不是普通持有人领取函数。普通用户应前往 NFT Dividend 查询 `getUserDividendInfo(user)`。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://document.sunprotocol.io/zhi-neng-he-yue/nftfee-he-yue.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
