Skip to main content

snrd query tx

Example:

Usage

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

Flags

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

Global Flags

broadcast-mode
string
default:"sync"
Transaction broadcasting mode (sync|async)
chain-id
string
The network chain ID
fees
string
Fees to pay along with transaction; eg: 10aatom
from
string
Name or address of private key with which to sign
gas-adjustment
float
default:"1"
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
string
Gas prices to determine the transaction fee (e.g. 10aatom)
home
string
default:"/Users/prad/.sonr"
directory for config and data
keyring-backend
string
default:"os"
Select keyring’s backend
log_format
string
default:"plain"
The logging format (json|plain)
log_level
string
default:"info"
The logging level (trace|debug|info|warn|error|fatal|panic|disabled or ’*:<level>,<key>:<level>’)
log_no_color
string
colored logs
trace
string
out full stack trace on errors

Examples

Basic query

snrd query tx

See Also

I