How to retrieve all addresses with non-zero balance and their balances?

3

5

I'm looking for a way to retrieve all address balances of addresses with a non-zero balance in the blockchain.

Is there a software tool that can calculate the balances in an accessible format? Or perhaps I can download them somewhere?

With an accessible format I mean that it can be interpreted by a computer. Either in a database-structure or in parseable text format.

Steven Roose

Posted 2013-12-03T21:17:33.693

Reputation: 10 855

1

Possible duplicate of All Bitcoin Public Keys with non-zero balance

e-sushi 2015-12-19T19:33:41.770

1Rather the other one would be a duplicate of this one, this one is almost two years older.Murch 2015-12-21T13:52:27.923

Answers

10

This guy wanted to do the same thing. You can find a solution there.

in short:

  • get a Linux Box/VM with >=8GB RAM
  • download blockparser
  • compile it
  • run "./parser allBalances -w 250000 >allBalances.txt"

the parser run take around 2 minutes on my vSphere VM (2x3Ghz Xeon, 16GB of RAM)

now you have a list of the top 250.000 adresses sorted by BTC amount.

add some sed/awk/cut magic to make a csv and you are done.

Maciej Mączko

Posted 2013-12-03T21:17:33.693

Reputation: 431

how to get ALL "nonzero" balances?D L 2018-01-05T22:29:26.130

I am sorry, I don't remember. It was 4 years agoMaciej Mączko 2018-01-06T15:00:25.217