ItemPurchased
Namespace: IotaSdk
A typed view of a 0x2::kiosk::ItemPurchased.
public class ItemPurchased : IItemPurchased, System.IDisposable
Inheritance Object → ItemPurchased
Implements IItemPurchased, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
ItemPurchased(UInt64)
public ItemPurchased(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
Id()
public ObjectId Id()
Returns
Kiosk()
public ObjectId Kiosk()
Returns
Price()
Purchase price, in nanos.
public ulong Price()
Returns
TryFromBcs(Byte[])
Decode from the BCS contents of an emitted event.
public static ItemPurchased TryFromBcs(Byte[] bytes)
Parameters
bytes Byte[]