Common IBC Commands
Nodes can use the Inter-Blockchain Communication Protocol (IBC) command with cronosd. Here are the commonly used IBC commands on Cronos Chain:
#1 Querying commands for the IBC module on Cronos
./cronosd q ibcSubcommands:
channel: IBC channel query subcommands
client: IBC client query subcommands
connection: IBC connection query subcommands
./cronosd query ibc channel#2 Querying command to see all channels with the node on Cronos
./cronosd q ibc channel channels Example:
./cronosd q ibc channel channels --node https://rpc-t3.cronos.org:443/Expected output:
Channels:
- channel_id: channel-0
connection_hops:
- connection-0
counterparty:
channel_id: channel-131
port_id: transfer
ordering: ORDER_UNORDERED
port_id: transfer
state: STATE_OPEN
version: ics20-1#3 Querying command to find the specific blockchain channel
Example:
&#xNAN;#4 Query the trace info for all token denominations
&#xNAN;#5 Query the denom hash info from a given denom trace
#6 Query the contract addresses connected with the coin denom
#7 Create a new IBC client with the specified client state and consensus state
Example:
#8 Query all channels associated with a connection
Example:
#9 Query a channel end
#10 Query a next receive sequence
#11 Query a packet acknowledgment
#12 Query a packet commitment
#13 Query all packet commitments associated with a channel
#14 Query a packet receipt
#15 Query all the unreceived acks associated with a channel
#16 Query all the unreceived packets associated with a channel
#17 Query the consensus state of a client at a given height
#18 Query the heights of all consensus states of a client
#19 Query all the consensus states of a client
#20 Query the latest header of the running chain
#21 Query the current ibc client parameters
#22 Query the self-consensus state for this chain
#23 Query all available light clients
#24 Query client status
#25 Query all connections
#26 Query stored connection end
#27 Query the current IBC connection parameters
#28 Query stored client connection paths
#29 Query the denom trace info from a given trace hash or IBC denom
Example:
#30 Get the escrow address for a channel
#31 Query the current IBC-transfer parameters
#32 Query the total amount of tokens in escrow for a denom
#33 Query the IBC-fee enabled status of a channel
#34 Query the IBC-fee enabled channels
#35 Query the relayer counterparty payee on a given channel
Example:
#36 Query for an unrelayed incentivized packet by port-id, channel-id and packet sequence
#37 Query for all of the unrelayed incentivized packets and associated fees across all channels
#38 Query for all of the unrelayed incentivized packets on a given channel
#39 Query the relayer payee address on a given channel
Example:
#40 Query the total acknowledgment fees for a packet
Example:
#41 Query the total receive fees for a packet
#42 Query the total timeout fees for a packet
\
Last updated
Was this helpful?