Skip to main content
Version: v7.0.0

okp4d_query_txs

okp4d 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. The events query is directly passed to Tendermint's RPC TxSearch method and must conform to Tendermint's query syntax.

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'.

okp4d query txs [flags]

Examples

$ okp4d query txs --query "message.sender='cosmos1...' AND message.action='withdraw_delegator_reward' AND tx.height > 7" --page 1 --limit 30

Options

      --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 txs
--limit int Query number of transactions results per page returned (default 100)
--node string <host>:<port> to CometBFT RPC interface for this chain (default "tcp://localhost:26657")
--order_by string The ordering semantics (asc|dsc)
-o, --output string Output format (text|json) (default "text")
--page int Query a specific page of paginated results (default 1)
--query string The transactions events query per Tendermint's query semantics

SEE ALSO