Skip to main content

CoinMetadata

data class CoinMetadata(var address: ObjectId, var decimals: Int? = null, var description: String? = null, var iconUrl: String? = null, var name: String? = null, var symbol: String? = null, var supply: ULong? = null, var version: ULong) : Disposable

The coin metadata associated with the given coin type.

Constructors

CoinMetadataconstructor(address: ObjectId, decimals: Int? = null, description: String? = null, iconUrl: String? = null, name: String? = null, symbol: String? = null, supply: ULong? = null, version: ULong)

Properties

NameSummary
addressvar address: ObjectId
The CoinMetadata object ID.
decimalsvar decimals: Int?
The number of decimal places used to represent the token.
descriptionvar description: String?
Optional description of the token, provided by the creator of the token.
iconUrlvar iconUrl: String?
Icon URL of the coin.
namevar name: String?
Full, official name of the token.
supplyvar supply: ULong?
The overall quantity of tokens that will be issued.
symbolvar symbol: String?
The token's identifying abbreviation.
versionvar version: ULong
Version of the token.

Functions

NameSummary
destroyopen override fun destroy()