Set (or reset) the price for an item.
Origin must be Signed and must be the owner of the item.
item
collection
price
None
buyer
Emits ItemPriceSet on success if the price is not None. Emits ItemPriceRemoved on success if the price is None.
ItemPriceSet
ItemPriceRemoved
Set (or reset) the price for an item.
Origin must be Signed and must be the owner of the
item
.collection
: The collection of the item.item
: The item to set the price for.price
: The price for the item. PassNone
, to reset the price.buyer
: Restricts the buy operation to a specific account.Emits
ItemPriceSet
on success if the price is notNone
. EmitsItemPriceRemoved
on success if the price isNone
.