Kiosk
Namespace: IotaSdk
A typed view of an on-chain 0x2::kiosk::Kiosk object.
public class Kiosk : IKiosk, System.IDisposable
Inheritance Object → Kiosk
Implements IKiosk, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
Kiosk(UInt64)
public Kiosk(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
Id()
The object's ID.
public ObjectId Id()
Returns
ItemCount()
Number of items stored in the kiosk.
public uint ItemCount()
Returns
Owner()
public Address Owner()
Returns
Profits()
Accumulated sale profits in nanos.
public ulong Profits()
Returns
TryFromBcs(Byte[])
Decode from BCS bytes, without validating the on-chain type tag.
public static Kiosk TryFromBcs(Byte[] bytes)
Parameters
bytes Byte[]
Returns
Exceptions
TryFromObject(Object)
Decode from an on-chain object, validating its Move type tag.
public static Kiosk TryFromObject(Object object)
Parameters
object Object