Etherscan displays all accounts in ethereum being used in the following section https://etherscan.io/accounts

Question: How can I get a list of all active ethereum accounts using geth?

Possible answer: Use Parity. It enables this feature by the RPC call to parity_listaccounts.

Why Not an answer: The account information is available at https://rinkeby.etherscan.io/accounts and rinkeby runs only geth. So geth must be able to provide this information.


A similar question: There exists a similar question How to list ALL Ethereum addresses with a positive balance, but that requires traversing each block which is very time costly process.

  • are you running a fully sinchronized Ethereum node ? If so, it is possible. with a simple code – Nulik Apr 14 '18 at 21:16
  • @Nulik But that simple code would take eternity ;) – Ayushya Apr 15 '18 at 0:05
  • @Ayushya, why eternity? – Nulik Apr 15 '18 at 0:08
  • Traversing each block and analyzing txs is slow. – Ayushya Apr 15 '18 at 0:09
  • @Ayushya, I am not talking about reprocessing the whole blockchain from genesis block, you can get the last state with a single call and print it to file – Nulik Apr 15 '18 at 0:11

From command line using CLI in order of creation : $ geth account list When using the console : > eth.accounts

| improve this answer | |
  • This lists only those accounts whose keystore files are present with us. It does not list all accounts – Ayushya Apr 14 '18 at 16:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.