GetCoinInfoResponse

Response message for NodeService.GetCoinInfo.

Properties

Link copied to clipboard
abstract val coinType: String?

Required. The coin type.

Link copied to clipboard
abstract val metadata: CoinMetadata

This field will be populated with information about this coin type's 0x2::coin::CoinMetadata if it exists and has not been wrapped.

Link copied to clipboard

Returns the field-presence view for this GetCoinInfoResponse instance.

Link copied to clipboard

If this coin type is a regulated coin, this field will be populated with information either from its Currency object in the CoinRegistry, or from its 0x2::coin::RegulatedCoinMetadata object for coins that have not been migrated to the CoinRegistry

Link copied to clipboard
abstract val treasury: CoinTreasury

This field will be populated with information about this coin type's 0x2::coin::TreasuryCap if it exists and has not been wrapped.

Functions

Link copied to clipboard
fun GetCoinInfoResponse.copy(body: <Error class: unknown class>.() -> Unit = {}): GetCoinInfoResponse

Copies the original message, including unknown fields.