官方的 MASTR 标志 MASTR 支持这项工作
目录
← 知识库首页

Technical reference

ERC-1155: one operator approval can cover many token IDs

An approval for a collection contract is broader than permission for the item pictured on a page.

Source-based reference · Updated 12 September 2026

研究文章和参考条目以英语发布。导航提供七种语言。

本文目录
  1. Many assets, one contract
  2. The operator permission
  3. What to preserve
  4. Sources

Many assets, one contract

ERC-1155 supports multiple token IDs in a single contract, including fungible and non-fungible forms. The standard includes transfers of individual IDs and batch transfers. A wallet's gallery is a presentation of those balances, not the definition of the approval's scope.

The operator permission

setApprovalForAll authorises an operator for the owner's tokens managed by that contract. A page advertising a transaction involving one item can ask for this wider permission. The visible artwork does not limit which IDs the operator can transfer under the approved authority.

What to preserve

Save the chain, token contract, operator address, approval value and transaction hash. Then compare the requested permission with the intended operation. Separate the collection's legitimate operator from a lookalike spender supplied by a counterfeit marketplace. If an approval is no longer needed, revoking it changes future operator authority but cannot reverse transfers already completed.

Sources

相关阅读

MASTR

支持独立研究

这里的调查、原始证据和指南均可免费阅读。自愿捐赠帮助支付研究成本,让 MASTR 能够继续提供工具。

打开钱包