GrpcCoinMetadata
type GrpcCoinMetadata
The metadata of a coin type.
type GrpcCoinMetadata struct {
// The id of the `0x2::coin::CoinMetadata` object or `Currency` object (when registered with
// the `CoinRegistry`).
Id **ObjectId
// Number of decimal places the coin uses.
Decimals *uint32
// Name for the token.
Name *string
// Symbol for the token.
Symbol *string
// Description of the token.
Description *string
// URL for the token logo.
IconUrl *string
// The `MetadataCap` id if it has been claimed for the coin type.
MetadataCapId **ObjectId
// State of the `MetadataCap` for the coin type.
MetadataCapState *GrpcMetadataCapState
}
func (*GrpcCoinMetadata) Destroy
func (r *GrpcCoinMetadata) Destroy()