burn: TxDescriptor<{
    check_owner?: MultiAddress;
    collection: number;
    item: number;
}>

Destroy a single item.

Origin must be Signed and the signing account must be either:

  • the Admin of the collection;

  • the Owner of the item;

  • collection: The collection of the item to be burned.

  • item: The item of the item to be burned.

  • check_owner: If Some then the operation will fail with WrongOwner unless the item is owned by this value.

Emits Burned with the actual amount burned.

Weight: O(1) Modes: check_owner.is_some().