GrpcCoinTreasury
Namespace: IotaSdk
The treasury of a coin type.
public record class GrpcCoinTreasury : System.IDisposable, System.IEquatable`1[[IotaSdk.GrpcCoinTreasury, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → GrpcCoinTreasury
Implements IDisposable, IEquatable<GrpcCoinTreasury>
Attributes NullableContextAttribute, NullableAttribute
Properties
Id
The id of the 0x2::coin::TreasuryCap object.
public ObjectId? Id { get; init; }
Property Value
TotalSupply
Total available supply for the coin type.
public ulong? TotalSupply { get; init; }
Property Value
SupplyState
Supply state indicating if the supply is fixed or can still be minted.
public GrpcSupplyState? SupplyState { get; init; }
Property Value
Constructors
GrpcCoinTreasury(ObjectId, UInt64?, GrpcSupplyState?)
The treasury of a coin type.
public GrpcCoinTreasury(ObjectId? Id, ulong? TotalSupply, GrpcSupplyState? SupplyState)
Parameters
Id ObjectId?
The id of the 0x2::coin::TreasuryCap object.
TotalSupply UInt64?
Total available supply for the coin type.
SupplyState GrpcSupplyState?
Supply state indicating if the supply is fixed or can still be minted.
Methods
Dispose()
public void Dispose()