GrpcCoinMetadata
data class GrpcCoinMetadata(var id: ObjectId?, var decimals: UInt?, var name: String?, var symbol: String?, var description: String?, var iconUrl: String?, var metadataCapId: ObjectId?, var metadataCapState: GrpcMetadataCapState?) : Disposable
The metadata of a coin type.
Constructors
| GrpcCoinMetadata | constructor(id: ObjectId?, decimals: UInt?, name: String?, symbol: String?, description: String?, iconUrl: String?, metadataCapId: ObjectId?, metadataCapState: GrpcMetadataCapState?) |
Properties
| Name | Summary |
|---|---|
| decimals | var decimals: UInt? Number of decimal places the coin uses. |
| description | var description: String? Description of the token. |
| iconUrl | var iconUrl: String? URL for the token logo. |
| id | var id: ObjectId? The id of the 0x2::coin::CoinMetadata object or Currency object (when registered with the CoinRegistry). |
| metadataCapId | var metadataCapId: ObjectId? The MetadataCap id if it has been claimed for the coin type. |
| metadataCapState | var metadataCapState: GrpcMetadataCapState? State of the MetadataCap for the coin type. |
| name | var name: String? Name for the token. |
| symbol | var symbol: String? Symbol for the token. |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |