Skip to main content

RegulatedCoinMetadata

Namespace: IotaSdk

public class RegulatedCoinMetadata : IRegulatedCoinMetadata, System.IDisposable

Inheritance ObjectRegulatedCoinMetadata
Implements IRegulatedCoinMetadata, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

RegulatedCoinMetadata(UInt64)

public RegulatedCoinMetadata(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

CoinMetadataObject()

Object ID of the coin's CoinMetadata object.

public ObjectId CoinMetadataObject()

Returns

ObjectId

DenyCapObject()

Object ID of the coin's DenyCap object.

public ObjectId DenyCapObject()

Returns

ObjectId

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 RegulatedCoinMetadata TryFromBcs(Byte[] bytes)

Parameters

bytes Byte[]

Returns

RegulatedCoinMetadata

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 RegulatedCoinMetadata TryFromObjectWithType(Object object, TypeTag typeParam)

Parameters

object Object

typeParam TypeTag

Returns

RegulatedCoinMetadata

Exceptions

SdkFfiException