Metadata represents a struct that describes a basic token.

from message cosmos.bank.v1beta1.Metadata

Hierarchy

Constructors

Properties

base: string = ""

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

from field: string base = 3;

denomUnits: DenomUnit[] = []

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

from field: repeated cosmos.bank.v1beta1.DenomUnit denom_units = 2;

description: string = ""

from field: string description = 1;

display: string = ""

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

from field: string display = 4;

name: string = ""

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

Since: cosmos-sdk 0.43

from field: string name = 5;

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

from field: string symbol = 6;

uri: string = ""

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

Since: cosmos-sdk 0.46

from field: string uri = 7;

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

from field: string uri_hash = 8;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.bank.v1beta1.Metadata" = "cosmos.bank.v1beta1.Metadata"

Methods