I have a custom pallet that makes calls to the Nfts pallet to create collections and mint NFTs. The problem is that I can't find a way to set the metadata of a token. I do see something like set_typed_attribute
being available in the Mutate trait, but is this really the same? The Rust documentation doesn't make me much wiser.
What I expected to find is something similar to fungibles::metadata::Mutate
, which provides set
to set metadata on fungible assets.
Therefore I'm very confused about how I can set metadata on items of the Nfts pallet. I'd highly appreciate if someone could put me on the right track.