Skip to main content

IotaCoinMetadata

Namespace: IotaSdk

public class IotaCoinMetadata : IIotaCoinMetadata, System.IDisposable

Inheritance ObjectIotaCoinMetadata
Implements IIotaCoinMetadata, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

IotaCoinMetadata(UInt64)

public IotaCoinMetadata(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

Decimals()

public byte Decimals()

Returns

Byte

Description()

public string Description()

Returns

String

IconUrl()

public string? IconUrl()

Returns

String?

Id()

The object's ID.

public ObjectId Id()

Returns

ObjectId

Name()

public string Name()

Returns

String

Symbol()

public string Symbol()

Returns

String

TryFromBcs(Byte[])

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

public static IotaCoinMetadata TryFromBcs(Byte[] bytes)

Parameters

bytes Byte[]

Returns

IotaCoinMetadata

Exceptions

SdkFfiException

TryFromObject(Object)

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

public static IotaCoinMetadata TryFromObject(Object object)

Parameters

object Object

Returns

IotaCoinMetadata

Exceptions

SdkFfiException