Tx Queries
Use the query tx
command to query information about transaction(s).
USAGE:
hermes query tx <SUBCOMMAND>
DESCRIPTION:
Query information about transactions
SUBCOMMANDS:
events Query the events emitted by transaction
Table of Contents
Transaction Events
Use the query tx events
command to obtain a list of events that a chain generated as a consequence of
delivering a transaction.
USAGE:
hermes query tx events --chain <CHAIN_ID> --hash <HASH>
DESCRIPTION:
Query the events emitted by transaction
REQUIRED:
--chain <CHAIN_ID> Identifier of the chain to query
--hash <HASH> Transaction hash to query
Example
Query chain ibc-0
for the events emitted due to transaction with hash
6EDBBCBCB779F9FC9D6884ACDC4350E69720C4B362E4ACE6C576DE792F837490
:
hermes query tx events --chain ibc-0 --hash 6EDBBCBCB779F9FC9D6884ACDC4350E69720C4B362E4ACE6C576DE792F837490
Success: [
SendPacket(
SendPacket {
height: Height {
revision: 4,
height: 6628239,
},
packet: PortId("transfer") ChannelId("channel-139") Sequence(2),
},
),
]