Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.49 KB

axelard_query_ibc_client_consensus-state.md

File metadata and controls

43 lines (31 loc) · 1.49 KB

axelard query ibc client consensus-state

Query the consensus state of a client at a given height

Synopsis

Query the consensus state for a particular light client at a given height. If the '--latest' flag is included, the query returns the latest consensus state, overriding the height argument.

axelard query ibc client consensus-state [client-id] [height] [flags]

Examples

<appd> query ibc client  consensus-state [client-id] [height]

Options

      --height int      Use a specific height to query state at (this can error if the node is pruning state)
  -h, --help            help for consensus-state
      --latest-height   return latest stored consensus state
      --node string     <host>:<port> to Tendermint RPC interface for this chain (default "tcp://localhost:26657")
  -o, --output string   Output format (text|json) (default "text")
      --prove           show proofs for the query results (default true)

Options inherited from parent commands

      --chain-id string     The network chain ID (default "axelar")
      --home string         directory for config and data (default "$HOME/.axelar")
      --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

SEE ALSO