Skip to main content
Architecture
zetacored
query txs

query txs

Query for paginated transactions that match a set of events

Synopsis

Search for transactions that match the exact given events where results are paginated. Each event takes the form of '{eventType}.{eventAttribute}={value}'. Please refer to each module's documentation for the full set of events to query for. Each module documents its respective events under 'xx_events.md'.

Example: $ zetacored query txs --events 'message.sender=cosmos1...&message.action=withdraw_delegator_reward' --page 1 --limit 30

zetacored query txs [flags]

Options

      --events string      list of transaction events in the form of {eventType}.{eventAttribute}={value}
--grpc-addr string the gRPC endpoint to use for this chain
--grpc-insecure allow gRPC over insecure channels, if not TLS 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 txs
--limit int Query number of transactions results per page returned (default 100)
--node string [host]:[port] to Tendermint RPC interface for this chain
-o, --output string Output format (text|json)
--page int Query a specific page of paginated results (default 1)

Options inherited from parent commands

      --chain-id string     The network chain ID
--home string directory for config and data
--log_format string The logging format (json|plain)
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic)
--trace print out full stack trace on errors

SEE ALSO