Metadata represents a struct that describes a basic token.

Hierarchy

  • Metadata

Properties

base: string

base represents the base denom (should be the DenomUnit with exponent = 0).

denomUnits: DenomUnit[]

denom_units represents the list of DenomUnit's for a given coin

description: string
display: string

display indicates the suggested denom that should be displayed in clients.

name: string

name defines the name of the token (eg: Cosmos Atom)

Since: cosmos-sdk 0.43

symbol: string

symbol is the token symbol usually shown on exchanges (eg: ATOM). This can be the same as the display.

Since: cosmos-sdk 0.43

uri: string

URI to a document (on or off-chain) that contains additional information. Optional.

Since: cosmos-sdk 0.46

uriHash: string

URIHash is a sha256 hash of a document pointed by URI. It's used to verify that the document didn't change. Optional.

Since: cosmos-sdk 0.46

Generated using TypeDoc