Queries

Hermes supports querying for different objects that exist on a configured chain.

The query command provides the following sub-commands:

CLI nameDescription
clientQuery information about clients
clientsQuery all clients
connectionQuery information about connections
connectionsQuery the identifiers of all connections on a chain
channelQuery information about channels
channelsQuery the identifiers of all channels on a given chain
packetQuery information about packets
txQuery information about transactions

Usage

USAGE:
    hermes query <SUBCOMMAND>

DESCRIPTION:
    Query objects from the chain

SUBCOMMANDS:
    client         Query information about clients
    clients        Query clients
    connection     Query information about connections
    connections    Query the identifiers of all connections on a chain
    channel        Query information about channels
    channels       Query the identifiers of all channels on a given chain
    packet         Query information about packets