--- title: snrd query tx description: Query for a transaction by hash or address/sequence combination --- # snrd query tx Example: ## Usage ```shell snrd query tx --type=[hash|acc_seq|signature] [hash|acc_seq|signature] [flags] ``` ## Flags the gRPC endpoint to use for this chain gRPC over insecure channels, if not the server must use TLS Use a specific height to query state at (this can error if the node is pruning state) for tx <host>:<port> to CometBFT RPC interface for this chain Output format (text|json) The type to be used when querying tx, can be one of "hash", "acc_seq", "signature" ## Global Flags Transaction broadcasting mode (sync|async) The network chain ID Fees to pay along with transaction; eg: 10aatom Name or address of private key with which to sign adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored Gas prices to determine the transaction fee (e.g. 10aatom) directory for config and data Select keyring's backend The logging format (json|plain) The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') colored logs out full stack trace on errors ## Examples ### Basic query ```shell snrd query tx ``` ## See Also - [snrd query](./snrd_query.mdx) - Parent command