Skip to main content

GrpcCoinInfo

Namespace: IotaSdk

Information about a coin type.

public record class GrpcCoinInfo : System.IDisposable, System.IEquatable`1[[IotaSdk.GrpcCoinInfo, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → GrpcCoinInfo
Implements IDisposable, IEquatable<GrpcCoinInfo>
Attributes NullableContextAttribute, NullableAttribute

Properties​

CoinType​

The coin type.

public string? CoinType { get; init; }

Property Value​

String

Metadata​

Information about the coin type's 0x2::coin::CoinMetadata, if it exists and has not been wrapped.

public GrpcCoinMetadata? Metadata { get; init; }

Property Value​

GrpcCoinMetadata

Treasury​

Information about the coin type's 0x2::coin::TreasuryCap, if it exists and has not been wrapped.

public GrpcCoinTreasury? Treasury { get; init; }

Property Value​

GrpcCoinTreasury

RegulatedMetadata​

Information about the coin type's regulated metadata, if the coin is regulated.

public GrpcRegulatedCoinMetadata? RegulatedMetadata { get; init; }

Property Value​

GrpcRegulatedCoinMetadata

Constructors​

GrpcCoinInfo(String, GrpcCoinMetadata, GrpcCoinTreasury, GrpcRegulatedCoinMetadata)​

Information about a coin type.

public GrpcCoinInfo(string? CoinType, GrpcCoinMetadata? Metadata, GrpcCoinTreasury? Treasury, GrpcRegulatedCoinMetadata? RegulatedMetadata)

Parameters​

CoinType String?
The coin type.

Metadata GrpcCoinMetadata?
Information about the coin type's 0x2::coin::CoinMetadata, if it exists and has not been wrapped.

Treasury GrpcCoinTreasury?
Information about the coin type's 0x2::coin::TreasuryCap, if it exists and has not been wrapped.

RegulatedMetadata GrpcRegulatedCoinMetadata?
Information about the coin type's regulated metadata, if the coin is regulated.

Methods​

Dispose()​

public void Dispose()