# 枚举扩展(Enumeration extension)

枚举功能可以 **发现合约已经发行的和某个用户所拥有的 NFT**。为了保证 ConfluxScan 和其他具有 NFT 展示功能的钱包能够实时获取 NFT 数据，**强烈建议**开发者在 CRC721 和 CRC1155 标准的合约中实现枚举功能。未来 ConfluxScan 可能会取消对 mint 事件的检索，未实现枚举功能的合约所发行的 NFT 将无法被查看。

实现枚举功能后，合约在 Conflux 链上单独铸造一个 NFT 的成本是 0.3～0.8 CFX。项目方如果希望获得代付设置方面的帮助，请联系刺客: <cike@confluxnetwork.org>。

&#x20;[EIP-721](https://eips.ethereum.org/EIPS/eip-721) 中把可枚举扩展作为可选项，[EIP-1155](https://eips.ethereum.org/EIPS/eip-1155) 标准去掉了可枚举扩展。对于 1155 合约，可以采用 Conflux 合约库中的 [扩展实现](https://github.com/conflux-fans/conflux-contracts/tree/main/contracts/token/CRC1155/extensions)。

范例工程合约 NFT 1.0 和 2.0在 OpenZeppelin 合约库提供[`IERC721Enumerable`](https://docs.openzeppelin.com/contracts/4.x/api/token/erc721#IERC721Enumerable)的基础上，各自分别实现了基于 Conflux 特性的枚举函数接口。


---

# 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://conflux-technical-support.gitbook.io/conflux-nft-kai-fa-zhi-nan/he-yue-mei-ju-han-shu-shuo-ming/mei-ju-kuo-zhan-enumeration-extension.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.
