Skip to main content
Use this page when you need the top-level thru-cli commands that are not nested under a program-specific family.

Use This When

  • you want to query node or chain state
  • you want to inspect account data or balances
  • you want the top-level native transfer command
Choose another family when:

Commands

CommandUse it for
thru-cli getversionFetch node version information.
thru-cli gethealthCheck node health.
thru-cli getheightRead cluster block heights.
thru-cli getaccountinfo [account] [--data-start N] [--data-len N]Inspect account metadata and optionally slice returned account data.
thru-cli getbalance [account]Fetch balance for a key name or address.
thru-cli getslotmetrics <slot> [end_slot]Inspect state counters and collected fees for one slot or a slot range.
thru-cli transfer <src> <dst> <value>Send native Thru between accounts.

Common Patterns

thru-cli getversion
thru-cli --json gethealth
thru-cli getaccountinfo default --data-start 0 --data-len 64
thru-cli transfer default ta...[recipient] 1000

Notes

  • These are the fastest commands to try first for read-only health, balance, or account inspection tasks.
  • getaccountinfo and getbalance can resolve config key names as account identifiers.
  • Use --json if the next step depends on parsing returned values programmatically.