Skip to main content

Most Used Commands

Create a new account
Check an account balance
List all accounts

Full Command Reference

Creates a new Hedera account.
int
required
Initial HBAR balance. Add “t” for Tinybar units
--balance 10 —> 10 HBAR
--balance 100t —> 100 Tinybars
int
The maximum number of automatic association tokens allowed
Default value set to 0
string
Key manager to use: local or local_encrypted (defaults to config setting)
string
required
Alias of the created account to be used
string(ecdsa|ed25519)
Set the default key type. Defaults to ecdsa (recommended for full usability)
string
Set the payer account, can be an account ID or alias
Import an existing account into the CLI tool. Provide accountId:privateKey format.
string
required
Specify the private key in accountId:privateKey format (e.g., “0.0.123456:abc123...”)
string
required
Alias for the account to be used
string
Key manager to use: local or local_encrypted (defaults to config setting)
Retrieve the balance for an account ID or name.
string
required
Account ID, alias or name of the account present in state
Show only HBAR balance
string
Show balance for specific token ID, specify token ID or name
Display balances in raw units (tinybars for HBAR, base units for tokens)
List all accounts stored in the address book.
Include private keys reference ID in listing. This is not the actual private key!
View detailed information about an account.
string
required
View data for account ID or name of the account present in state.
Remove all account information from the address book.
Delete an account from the address book. You need to specify either name or ID to delete the account.
string
Account name to be deleted from the store.
string
Account ID to be deleted from the store.