Hedera Transaction Tool Demo
v0.10.0
v0.10.0
  • Overview
  • Configuration
  • Installation
  • Keys
    • Generate a key
    • Import keys
    • Add public keys
    • Change your key name
    • Change your key password
    • Export your public key
    • Recovery your keys
    • Forgot your key password
    • View your recovery phrase
    • Change your recovery phrase password
    • Forgot your recovery phrase password
  • Accounts
    • Add an account
    • Change account name
    • Import accounts
    • Add new account
    • Add account network
    • Get account balance
    • Get account info
  • Create Transactions
    • Create an account
    • Update an account
    • Transfer hbar
    • File contents update
    • Admin remove content
    • Admin restore content
    • Create transactions from an existing transaction
    • Software update
  • Sign Transactions
    • Individual transactions
    • Multiple (batch) transactions
  • History
  • Settings
  • Software Update
  • CLI Commands
    • Launch CLI
    • Change key formats
    • Get account info
    • Collate transactions
    • Submit transactions
Powered by GitBook
On this page

Was this helpful?

  1. CLI Commands

Get account info

Request the account info from a Hedera network. A .info file will be returned. It can be placed in the InputFiles folder for the demo application to read.

Command

get-account-info

gi

Argument

Description

Required/Optional

-a

The account to get the info for. Either the entity ID (0.0.100) or account number (100) can be used. You can specify more than 1 account info at a time. Ranges are not accepted.

Required

-k

The path to the location of the key (.pem) to the account that will pay for the transaction fee.

Required

-n

The network to submit the query to. (PREVIEWNET, TESTNET, MAINNET).

Default: MAINNET

Optional

-o

The path to the directory the account info file (.info) should be stored.

Optional

-p

The account ID of the account paying for the transaction fee

Required

bash launch.sh get-account-info

Example:

bash launch.sh gi -a <accountNumberForInfo> -k </path/to/key/key.pem> -o </path/to/store/accountInfo> -p <payer account ID> -n <network>
PreviousChange key formatsNextCollate transactions

Last updated 3 years ago

Was this helpful?