Skip to main content

GrpcCoinInfo

data class GrpcCoinInfo(var coinType: String?, var metadata: GrpcCoinMetadata?, var treasury: GrpcCoinTreasury?, var regulatedMetadata: GrpcRegulatedCoinMetadata?) : Disposable

Information about a coin type.

Constructors​

GrpcCoinInfoconstructor(coinType: String?, metadata: GrpcCoinMetadata?, treasury: GrpcCoinTreasury?, regulatedMetadata: GrpcRegulatedCoinMetadata?)

Properties​

NameSummary
coinTypevar coinType: String?
The coin type.
metadatavar metadata: GrpcCoinMetadata?
Information about the coin type's 0x2::coin::CoinMetadata, if it exists and has not been wrapped.
regulatedMetadatavar regulatedMetadata: GrpcRegulatedCoinMetadata?
Information about the coin type's regulated metadata, if the coin is regulated.
treasuryvar treasury: GrpcCoinTreasury?
Information about the coin type's 0x2::coin::TreasuryCap, if it exists and has not been wrapped.

Functions​

NameSummary
destroyopen override fun destroy()