Professional Documents
Culture Documents
Ethereum Commands
I. Basic Commands
1. Display list of accounts in ethereum
> eth.accounts
> eth.coinbase
3. Start mining
miner.start()
4. stop mining
> miner.stop()
5. checking balance
> eth.getBalance(eth.coinbase)
> eth.accounts
> eth.coinbase
3. checking balance
> eth.getBalance(eth.coinbase)
5. Check the number of hashes per second that the node is mining wit
> eth.hashrate
6. Check the current gas price. The gas price is determined by the x latest blocks median gas price
> eth.gasPrice
7. Check the current block number
> eth.blockNumber
miner.start(6)
2. stop mining
> miner.stop()
IV Personal Commands
2. List all the Ethereum account addresses of all keys in the key store.
> personal.listAccounts
3. Unlock account
> personal.unlockAccount(eth.accounts[0])
V. TxPool Commands
These commands containing all the currently pending transactions as well as the ones queued for
future processing
3. Display inspection property can be queried to list a textual summary of all the transactions
currently pending for inclusion in the next block(s)
> txpool.inspect
VI. Admin Commands
Geth Admin commands
1. Check Node information
> admin.nodeInfo