CoinManager
Namespace: IotaSdk
public class CoinManager : ICoinManager, System.IDisposable
Inheritance Object → CoinManager
Implements ICoinManager, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
CoinManager(UInt64)
public CoinManager(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
Id()
The object's ID.
public ObjectId Id()
Returns
ImmutableMetadata()
Frozen fallback metadata, used only if the original metadata has been frozen.
public ImmutableCoinMetadata? ImmutableMetadata()
Returns
MaximumSupply()
Optional maximum supply cap, in base units.
public ulong? MaximumSupply()
Returns
Metadata()
The coin's CoinMetadata, if still held by the manager.
public IotaCoinMetadata? Metadata()
Returns
MetadataImmutable()
Whether the metadata is considered immutable.
public bool MetadataImmutable()
Returns
SupplyImmutable()
Whether the supply is considered immutable.
public bool SupplyImmutable()
Returns
TreasuryCap()
The embedded TreasuryCap controlling the coin's supply.
public TreasuryCap TreasuryCap()
Returns
TryFromBcs(Byte[])
Decode from BCS bytes, without validating the on-chain type tag.
public static CoinManager 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 CoinManager TryFromObjectWithType(Object object, TypeTag typeParam)
Parameters
object Object
typeParam TypeTag