Metadata represents a struct that describes a basic token.

interface Metadata {
    base: string;
    denomUnits: DenomUnit[];
    description: string;
    display: string;
    name: string;
    symbol: string;
}

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