Bitcoin Forum
May 05, 2024, 09:29:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Extract stats from Bitcoin Core DB - HELP!  (Read 104 times)
ebn87 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 5


View Profile
July 28, 2023, 01:05:25 PM
Merited by LoyceV (4), ABCbits (1)
 #1

Hi guys, maybe someone can help me here:
is there a way to extract from Bitcoin Core some stats about the totale number of wallets?
like an historical series of how the number of addresses with greater than zero balance evolved over time?
or just a snapshots of all the addresses balance at a given period of time...
or to export the DB in CSV or something readable...
than I could derive my stats.
1714944574
Hero Member
*
Offline Offline

Posts: 1714944574

View Profile Personal Message (Offline)

Ignore
1714944574
Reply with quote  #2

1714944574
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714944574
Hero Member
*
Offline Offline

Posts: 1714944574

View Profile Personal Message (Offline)

Ignore
1714944574
Reply with quote  #2

1714944574
Report to moderator
1714944574
Hero Member
*
Offline Offline

Posts: 1714944574

View Profile Personal Message (Offline)

Ignore
1714944574
Reply with quote  #2

1714944574
Report to moderator
1714944574
Hero Member
*
Offline Offline

Posts: 1714944574

View Profile Personal Message (Offline)

Ignore
1714944574
Reply with quote  #2

1714944574
Report to moderator
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3472
Merit: 6122



View Profile
July 28, 2023, 01:08:00 PM
 #2

No, as far as I know, that's not possible. I'm guessing you're referring to all the wallets out there, and not just yours. Right?

If so, take a look at LoyceV's topic, it should help you achieve what you want : https://bitcointalk.org/index.php?topic=5254914.0


█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
FatFork
Legendary
*
Offline Offline

Activity: 1596
Merit: 2588


Top Crypto Casino


View Profile WWW
July 28, 2023, 01:39:28 PM
 #3

Op, I believe this article might be helpful to you: https://www.shakudo.io/blog/how-to-extract-on-chain-bitcoin-data

It might require a bit of Python knowledge, but even if you don't have much, you could still get some ideas from it. Check it out!

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
ebn87 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 5


View Profile
July 28, 2023, 02:37:41 PM
 #4

thank you both!
very useful 🙏
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16599


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
July 29, 2023, 07:00:16 AM
 #5

is there a way to extract from Bitcoin Core some stats about the totale number of wallets?
There's software out there that extracts this (current) information from chainstate, so it should also work on a pruned node.

Quote
like an historical series of how the number of addresses with greater than zero balance evolved over time?
or just a snapshots of all the addresses balance at a given period of time...
This is more work, it requires processing the actual blockchain. There's software out there for this too.

But:
Quote
or to export the DB in CSV or something readable...
Blockchair did this already, and you can easily download it! It's slow, so I created a mirror. You may like:
I have snapshots going back a year (second link), or data dumps per day (last link).

If you only want to count funded addresses, I have data since September 2020: total_number_of_funded_addresses.txt.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!