Synopsis
Subcommands
cowboy transaction submit
Submit a raw signed transaction to the chain.
Behavior:
- Take the hex-encoded transaction data.
- Submit it to the RPC endpoint.
- Print the transaction hash.
| Flag | Default | Description |
|---|---|---|
--data | Required | Hex-encoded signed transaction |
cowboy transaction get
Retrieve a transaction by its hash.
Behavior:
- Query the RPC endpoint for the transaction with the given hash.
- Print the full transaction details (type, sender, nonce, payload).
| Flag | Default | Description |
|---|---|---|
--hash | Required | Transaction hash (hex) |
cowboy transaction status
Query the status of a transaction.
Behavior:
- Query the RPC endpoint for the transaction status.
- Print the status (pending, confirmed, failed).
| Flag | Default | Description |
|---|---|---|
--hash | Required | Transaction hash (hex) |
Edge Cases
- If the transaction hash is not found, print
Transaction not found. - All subcommands are read-only except
submit.

