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 tx

Query for a transaction by hash, <addr>/<seq> combination, or comma-separated signatures in a committed block.

Synopsis

Example

Terrad
Copy

_3
terrad query tx <hash>
_3
terrad query tx --type=acc_seq <addr>/<sequence>
_3
terrad query tx --type=signature <sig1_base64>,<sig2_base64...>

Usage

Terrad
Copy

_1
terrad query tx --type=[hash|acc_seq|signature] [hash|acc_seq|signature] [flags]

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 tx
_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
--type string The type to be used when querying tx, can be one of "hash", "acc_seq", "signature" (default "hash")

Options inherited from parent commands

Terrad
Copy

_1
--chain-id string The network chain ID

See also