terrad query ibc client consensus-state
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.
Example
_1terrad query ibc client consensus-state [client-id] [height]
Usage
_1terrad query ibc client consensus-state [client-id] [height] [flags]
Options
_6 --height int Use a specific height to query state at (this can error if the node is pruning state)
_6 -h, --help help for consensus-state
_6 --latest-height return latest stored consensus state
_6 --node string <host>:<port> to Tendermint RPC interface for this chain (default "tcp://localhost:26657")
_6 -o, --output string Output format (text|json) (default "text")
_6 --prove show proofs for the query results (default true)
Options inherited from parent commands
_1 --chain-id string The network chain ID
See also