Skip to main content
Version: Next

axoned_query_ibc_client_consensus-state

axoned 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.

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

Examples

axoned 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 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 CometBFT 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)

SEE ALSO