var img = document.createElement('img'); img.src = "https://terradocs.matomo.cloud//piwik.php?idsite=1&rec=1&url=https://docs.terra.money" + location.pathname; img.style = "border:0"; img.alt = "tracker"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(img,s);
Skip to main content

terrad query ibc channel unreceived-packets

Query all the unreceived packets associated with a channel.

Synopsis

Determine if a packet is unreceived, given a list of packet commitment sequences.

The return value represents:

  • Unreceived packet commitments: no acknowledgement exists on receiving chain for the given packet commitment sequence on sending chain.
Terrad
Copy

_1
terrad query ibc channel unreceived-packets [port-id] [channel-id] [flags]

Example

Terrad
Copy

_1
terrad query ibc channel unreceived-packets [port-id] [channel-id] --sequences=1,2,3

Options

Terrad
Copy

_5
--height int Use a specific height to query state at (this can error if the node is pruning state)
_5
-h, --help help for unreceived-packets
_5
--node string <host>:<port> to Tendermint RPC interface for this chain (default "tcp://localhost:26657")
_5
-o, --output string Output format (text|json) (default "text")
_5
--sequences int64Slice comma separated list of packet sequence numbers (default [])

Options inherited from parent commands

Terrad
Copy

_1
--chain-id string The network chain ID

See also