CoinMetadata
Namespace: IotaSdk
public class CoinMetadata : ICoinMetadata, System.IDisposable
Inheritance Object → CoinMetadata
Implements ICoinMetadata, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
CoinMetadata(UInt64)
public CoinMetadata(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
Decimals()
public byte Decimals()
Returns
Description()
public string Description()
Returns
IconUrl()
public string? IconUrl()
Returns
Id()
The object's ID.
public ObjectId Id()
Returns
Name()
public string Name()
Returns
Symbol()
public string Symbol()
Returns
TryFromBcs(Byte[])
Decode from BCS bytes, without validating the on-chain type tag.
public static CoinMetadata TryFromBcs(Byte[] bytes)
Parameters
bytes Byte[]
Returns
Exceptions
TryFromObjectWithType(Object, TypeTag)
Decode from an on-chain object, validating its Move type tag, including that its
type parameter equals type_param.
public static CoinMetadata TryFromObjectWithType(Object object, TypeTag typeParam)
Parameters
object Object
typeParam TypeTag