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

Querying subcommands.

Terrad
Copy

_44
Querying subcommands
_44
_44
Usage:
_44
terrad query [flags]
_44
terrad query [command]
_44
_44
Aliases:
_44
query, q
_44
_44
Available Subcommands (click for more info):
_44
account Query for account by address
_44
auth Querying commands for the auth module
_44
authz Querying commands for the authz module
_44
bank Querying commands for the bank module
_44
block Get verified data for a the block at given height
_44
distribution Querying commands for the distribution module
_44
evidence Query for evidence by hash or for all (paginated) submitted evidence
_44
feegrant Querying commands for the feegrant module
_44
gov Querying commands for the governance module
_44
ibc Querying commands for the IBC module
_44
ibc-router
_44
ibc-transfer IBC fungible token transfer query subcommands
_44
interchain-accounts interchain-accounts subcommands
_44
mint Querying commands for the minting module
_44
params Querying commands for the params module
_44
slashing Querying commands for the slashing module
_44
staking Querying commands for the staking module
_44
tendermint-validator-set Get the full tendermint validator set at given height
_44
tx Query for a transaction by hash, "<addr>/<seq>" combination or comma-separated signatures in a committed block
_44
txs Query for paginated transactions that match a set of events
_44
upgrade Querying commands for the upgrade module
_44
wasm Querying commands for the wasm module
_44
_44
Flags:
_44
--chain-id string The network chain ID
_44
-h, --help help for query
_44
_44
Global Flags:
_44
--home string directory for config and data (default "/Users/.terra")
_44
--log_format string The logging format (json|plain) (default "plain")
_44
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info")
_44
--trace print out full stack trace on errors
_44
_44
Use "terrad query [command] --help" for more information about a command.

Options

Terrad
Copy

_2
--chain-id string The network chain ID
_2
-h, --help help for query

See also