Skip to main content

CoinManagerTreasuryCap

Namespace: IotaSdk

public class CoinManagerTreasuryCap : ICoinManagerTreasuryCap, System.IDisposable

Inheritance Object → CoinManagerTreasuryCap
Implements ICoinManagerTreasuryCap, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

CoinManagerTreasuryCap(UInt64)​

public CoinManagerTreasuryCap(ulong pointer)

Parameters​

pointer UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

Id()​

The object's ID.

public ObjectId Id()

Returns​

ObjectId

TryFromBcs(Byte[])​

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

public static CoinManagerTreasuryCap TryFromBcs(Byte[] bytes)

Parameters​

bytes Byte[]

Returns​

CoinManagerTreasuryCap

Exceptions​

SdkFfiException

TryFromObjectWithType(Object, TypeTag)​

Decode from an on-chain object, validating its Move type tag, including that its type parameter equals type_param.

public static CoinManagerTreasuryCap TryFromObjectWithType(Object object, TypeTag typeParam)

Parameters​

object Object

typeParam TypeTag

Returns​

CoinManagerTreasuryCap

Exceptions​

SdkFfiException