pub fn mint<T: Config>(
collection: CollectionId,
item: ItemIndex,
to: T::AccountId,
metadata: Vec<(MetadataKeyOf<T>, MetadataValueOf<T>)>,
)Expand description
Mint an instance of an immutable item definition into an empty purse key.
The destination gives no consent; any empty key is a valid target. See the module documentation on purse-key occupancy.
metadata contains instance-specific overrides. Item metadata remains the shared
default for every instance minted from the definition.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::mint.