Skip to main content
Use this page when you need the top-level thru 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 getversionFetch node version information.
thru gethealthCheck node health.
thru getheightRead cluster block heights.
thru getaccountinfo [account] [--data-start N] [--data-len N]Inspect account metadata and optionally slice returned account data.
thru getbalance [account]Fetch balance for a key name or address.
thru getslotmetrics <slot> [end_slot]Inspect state counters and collected fees for one slot or a slot range.
thru transfer <src> <dst> <value>Send native Thru between accounts.

Common Patterns

thru getversion
thru --json gethealth
thru getaccountinfo default --data-start 0 --data-len 64
thru 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.