Logo MASTR ufficiale MASTR Sostieni il lavoro
Indice
← Home della wiki

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

Gli articoli di ricerca e le schede sono pubblicati in inglese. La navigazione è disponibile in sette lingue.

In questo articolo
  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

Letture correlate

Wallet e sicurezza

Token-2022 extensions

Solana Token-2022 adds optional behaviours such as fees and hooks.

MASTR

Sostieni la ricerca indipendente

Le indagini, le prove originali e le guide sono accessibili gratuitamente. Le donazioni volontarie contribuiscono a finanziare la ricerca e a mantenere disponibili gli strumenti MASTR.

Apri wallet