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.
zetacored query ibc client consensus-state [client-id] [height] [flags]
Examples
zetacored query ibc client consensus-state [client-id] [height]
Options
--grpc-addr string the gRPC endpoint to use for this chain
--grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS
--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
-o, --output string Output format (text|json)
--prove show proofs for the query results (default true)
Options inherited from parent commands
--chain-id string The network chain ID
--home string directory for config and data
--log_format string The logging format (json|plain)
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic)
--log_no_color Disable colored logs
--trace print out full stack trace on errors
SEE ALSO
- zetacored query ibc client - IBC client query subcommands