referrerpolicy=no-referrer-when-downgrade

Module polkadot_sdk_frame::traits::tokens::nonfungible_v2

Expand description

Traits for dealing with a single non-fungible item.

This assumes a single-level namespace identified by Inspect::ItemId, and could reasonably be implemented by pallets that want to expose a single collection of NFT-like objects.

For an NFT API that has dual-level namespacing, the traits in nonfungibles are better to use.

Structs§

  • Convert a nonfungibles trait implementation into a nonfungible trait implementation by identifying a single item.

Traits§

  • Trait for providing an interface to a read-only NFT-like item.
  • Interface for enumerating items in existence or owned by a given account over a collection of NFTs.
  • Trait for providing an interface for NFT-like items which may be minted, burned and/or have attributes and metadata set on them.
  • Trait for transferring and controlling the transfer of non-fungible sets of items.