var img = document.createElement('img'); img.src = "https://terradocs.matomo.cloud//piwik.php?idsite=1&rec=1&url=https://docs.terra.money" + location.pathname; img.style = "border:0"; img.alt = "tracker"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(img,s);
Skip to main content

terrad query bank denom-metadata

Query the client metadata for coin denominations.

Synopsis

Query the client metadata for all the registered coin denominations.

Examples

To query for the client metadata of all coin denominations, use the following command:

Terrad
Copy

_1
terrad query bank denom-metadata

To query for the client metadata of a specific coin denomination use the following command:

Terrad
Copy

_1
terrad query bank denom-metadata --denom=[denom]

Usage

Terrad
Copy

_1
terrad query bank denom-metadata [flags]

Options

Terrad
Copy

_5
--denom string The specific denomination to query client metadata for
_5
--height int Use a specific height to query state at (this can error if the node is pruning state)
_5
-h, --help help for denom-metadata
_5
--node string <host>:<port> to Tendermint RPC interface for this chain (default "tcp://localhost:26657")
_5
-o, --output string Output format (text|json) (default "text")

Options inherited from parent commands

Terrad
Copy

_1
--chain-id string The network chain ID

See also