Skip to main content

ItemPurchased

Namespace: IotaSdk

A typed view of a 0x2::kiosk::ItemPurchased.

public class ItemPurchased : IItemPurchased, System.IDisposable

Inheritance ObjectItemPurchased
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

ObjectId

Kiosk()

public ObjectId Kiosk()

Returns

ObjectId

Price()

Purchase price, in nanos.

public ulong Price()

Returns

UInt64

TryFromBcs(Byte[])

Decode from the BCS contents of an emitted event.

public static ItemPurchased TryFromBcs(Byte[] bytes)

Parameters

bytes Byte[]

Returns

ItemPurchased

Exceptions

SdkFfiException