Skip to main content
Version: v7.1.0


okp4d query tx

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


Example: $ okp4d query tx <hash> $ okp4d query tx --type=acc_seq <addr>/<sequence> $ okp4d query tx --type=signature <sig1_base64>,<sig2_base64...>

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


      --grpc-addr string   the gRPC endpoint to use for this chain
--grpc-insecure allow gRPC over insecure channels, if not the server must use TLS
--height int Use a specific height to query state at (this can error if the node is pruning state)
-h, --help help for tx
--node string <host>:<port> to CometBFT RPC interface for this chain (default "tcp://localhost:26657")
-o, --output string Output format (text|json) (default "text")
--type string The type to be used when querying tx, can be one of "hash", "acc_seq", "signature" (default "hash")