Skip to main content

KioskOwnerCap

Namespace: IotaSdk

A typed view of an on-chain 0x2::kiosk::KioskOwnerCap object.

public class KioskOwnerCap : IKioskOwnerCap, System.IDisposable

Inheritance Object → KioskOwnerCap
Implements IKioskOwnerCap, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

KioskOwnerCap(UInt64)​

public KioskOwnerCap(ulong pointer)

Parameters​

pointer UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

Id()​

The object's ID.

public ObjectId Id()

Returns​

ObjectId

KioskId()​

ID of the kiosk this cap controls (the Move for field).

public ObjectId KioskId()

Returns​

ObjectId

TryFromBcs(Byte[])​

Decode from BCS bytes, without validating the on-chain type tag.

public static KioskOwnerCap TryFromBcs(Byte[] bytes)

Parameters​

bytes Byte[]

Returns​

KioskOwnerCap

Exceptions​

SdkFfiException

TryFromObject(Object)​

Decode from an on-chain object, validating its Move type tag.

public static KioskOwnerCap TryFromObject(Object object)

Parameters​

object Object

Returns​

KioskOwnerCap

Exceptions​

SdkFfiException