Skip to content

Latest commit

History

History
112 lines (97 loc) 路 6.5 KB

terrad_query.mdx

File metadata and controls

112 lines (97 loc) 路 6.5 KB
title sidebar_position
Query
1

terrad query

Querying subcommands.

Querying subcommands

Usage:
  terrad query [flags]
  terrad query [command]

Aliases:
  query, q

Available Subcommands (click for more info):
  // link[3:138] /develop/terrad/commands/queries/terrad_query_account
  account                  Query for account by address
  // link[3:138] /develop/terrad/commands/queries/auth/terrad_query_auth
  auth                     Querying commands for the auth module
  // link[3:138] /develop/terrad/commands/queries/authz/terrad_query_authz
  authz                    Querying commands for the authz module
  // link[3:138] /develop/terrad/commands/queries/bank/terrad_query_bank
  bank                     Querying commands for the bank module
  // link[3:138] /develop/terrad/commands/queries/terrad_query_block
  block                    Get verified data for a the block at given height
  // link[3:138] /develop/terrad/commands/queries/distribution/terrad_query_distribution
  distribution             Querying commands for the distribution module
  // link[3:138] /develop/terrad/commands/queries/terrad_query_evidence
  evidence                 Query for evidence by hash or for all (paginated) submitted evidence
  // link[3:138] /develop/terrad/commands/queries/feegrant/terrad_query_feegrant
  feegrant                 Querying commands for the feegrant module
  // link[3:138] /develop/terrad/commands/queries/gov/terrad_query_gov
  gov                      Querying commands for the governance module
  // link[3:138] /develop/terrad/commands/queries/ibc/terrad_query_ibc
  ibc                      Querying commands for the IBC module
  // link[3:138] /develop/terrad/commands/queries/terrad_query_ibc-router_params
  ibc-router
  // link[3:138] /develop/terrad/commands/queries/ibc-transfer/terrad_query_ibc-transfer
  ibc-transfer             IBC fungible token transfer query subcommands
  // link[3:138] /develop/terrad/commands/queries/interchain-accounts/terrad_query_interchain-accounts
  interchain-accounts      interchain-accounts subcommands
  // link[3:138] /develop/terrad/commands/queries/mint/terrad_query_mint
  mint                     Querying commands for the minting module
  // link[3:138] /develop/terrad/commands/queries/terrad_query_params_subspace
  params                   Querying commands for the params module
  // link[3:138] /develop/terrad/commands/queries/slashing/terrad_query_slashing
  slashing                 Querying commands for the slashing module
  // link[3:138] /develop/terrad/commands/queries/staking/terrad_query_staking
  staking                  Querying commands for the staking module
  // link[3:138] /develop/terrad/commands/queries/terrad_query_tendermint-validator-set
  tendermint-validator-set Get the full tendermint validator set at given height
  // link[3:138] /develop/terrad/commands/queries/terrad_query_tx
  tx                       Query for a transaction by hash, "<addr>/<seq>" combination or comma-separated signatures in a committed block
  // link[3:138] /develop/terrad/commands/queries/terrad_query_txs
  txs                      Query for paginated transactions that match a set of events
  // link[3:138] /develop/terrad/commands/queries/upgrade/terrad_query_upgrade
  upgrade                  Querying commands for the upgrade module
  // link[3:138] /develop/terrad/commands/queries/wasm/terrad_query_wasm
  wasm                     Querying commands for the wasm module

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

Global Flags:
      --home string         directory for config and data (default "/Users/.terra")
      --log_format string   The logging format (json|plain) (default "plain")
      --log_level string    The logging level (trace|debug|info|warn|error|fatal|panic) (default "info")
      --trace               print out full stack trace on errors

Use "terrad query [command] --help" for more information about a command.

Options

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

See also