E
E
eegmak2020-12-24 23:32:31
bitcoin
eegmak, 2020-12-24 23:32:31

How to check the balance of bitcoin wallets offline?

It is known that the information is stored in the "database" of bitcoin, which occupies about 60 GB. Advise a library or something like that to be able to check the balance at the address?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Z
zohan1993, 2020-12-25
@zohan1993

1. Buy a VPS, run a bitcoin node, use JSON-RPC
https://developer.bitcoin.org/reference/rpc/
2. Look for free APIs that suit the request limits
https://btc.com/api-doc
https://www.blockchain.com/api/blockchain_api
https://www.coinapi.io/pricing?apikey

V
Vasily Bannikov, 2020-12-24
@vabka

which occupies about 60 GB.

It is no longer relevant - now it occupies more than 300GB.
I can’t say about the library, because there is no language specification.
I was able to google this thing: https://github.com/bitcoin-abe/bitcoin-abe
Under C# there is a library https://www.nuget.org/packages/NBitcoin/

R
rPman, 2020-12-26
@rPman

Wallet balances are the UTXO base, its size is now about 4 gigabytes
, download the bitcoin-core database, you don’t need to store it all, because you only need chainstate (the --prune 512 key will take about 5GB)
Then you get the entire list with the utility and look for your address there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question