Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: successhalf on March 24, 2018, 03:41:22 PM



Title: Help Multi check balance of bitcoin address
Post by: successhalf on March 24, 2018, 03:41:22 PM
I use some non-effective check tools
Pls help me.........


Title: Re: Help Multi check balance of bitcoin address
Post by: bob123 on March 24, 2018, 03:48:25 PM
The easiest would be to write a small script and check the balance via public API.
This is especially recommended if you are already generating/retrieving the addresses via a small script/tool.
There are several online services available which offer such an API for free.

For example:
  • https://blockchain.info/q (https://blockchain.info/q)
  • https://www.blockonomics.co/views/api.html
  • https://blockexplorer.com/api-ref



Title: Re: Help Multi check balance of bitcoin address
Post by: successhalf on March 24, 2018, 04:14:20 PM
The easiest would be to write a small script and check the balance via public API.
This is especially recommended if you are already generating/retrieving the addresses via a small script/tool.
There are several online services available which offer such an API for free.

For example:
  • https://blockchain.info/q (https://blockchain.info/q)
  • https://www.blockonomics.co/views/api.html
  • https://blockexplorer.com/api-ref



large size 2GB Address / about 30MIL
difficult to for check
Do you have any solution?


Title: Re: Help Multi check balance of bitcoin address
Post by: bob123 on March 24, 2018, 05:56:48 PM
large size 2GB Address / about 30MIL
difficult to for check
Do you have any solution?

You might try to install bitcoind (including whole synced blockchain) and use RPC calls to check the balance of the addresses after importing them.

The command you should enter is:
Code:
importaddress <address> "" false

This will import the address as watch-only. The false is needed for core not reindexing right afterwards(can take a long time).

After you have imported all addresses you can restart bitcoind with the -rescan startup flag.


Wrap it into a small shell/python/whatever script and you shouldTM be good to go.

But don't know how long this will take and if this even works with that amount of addresses. You might consider splitting those into smaller chunks.