thru-cli txn when you need to build or inspect transactions directly instead of using a higher-level command family.
Commands
| Command | Use it for |
|---|---|
sign | Build and sign a transaction, then emit it as base64. |
execute | Build, sign, and submit a transaction directly. |
make-state-proof | Generate a cryptographic state proof for an account. |
get | Fetch transaction details by signature. |
sort | Sort public keys for transaction account lists. |
Important Inputs
programinstruction_data- optional fee/resource fields such as
fee,compute_units,state_units, andmemory_units - ordered
--readwrite-accountsand--readonly-accounts
Minimal Patterns
Notes
- Use this family when you already know the raw instruction data and account list you need.
- Use a higher-level family like
token,program, orregistrarwhen it already wraps the transaction-building logic for your task.