Skip to main content

Synopsis

Subcommands

cowboy query blocks

Query a range of blocks. Behavior:
  1. Fetch blocks from --start height up to --end height (or --limit blocks).
  2. Print a summary of each block.
Flags: Example:

cowboy query transactions

Query transactions, optionally filtered by address. Behavior:
  1. Fetch transactions from the chain.
  2. If --address is provided, filter to transactions involving that address (sender or recipient).
  3. Print a summary of each transaction.
Flags: Example:

Edge Cases

  • If no transactions match the filter, print an empty result (not an error).
  • All subcommands are read-only and do not require a private key.