Skip to main content

Synopsis

Subcommands

cowboy transaction submit

Submit a raw signed transaction to the chain. Behavior:
  1. Take the hex-encoded transaction data.
  2. Submit it to the RPC endpoint.
  3. Print the transaction hash.
Flags: Example:

cowboy transaction get

Retrieve a transaction by its hash. Behavior:
  1. Query the RPC endpoint for the transaction with the given hash.
  2. Print the full transaction details (type, sender, nonce, payload).
Flags: Example:

cowboy transaction status

Query the status of a transaction. Behavior:
  1. Query the RPC endpoint for the transaction status.
  2. Print the status (pending, confirmed, failed).
Flags: Example:

Edge Cases

  • If the transaction hash is not found, print Transaction not found.
  • All subcommands are read-only except submit.