3
I need to go through a large list (about 100 000) of bitcoin addresses, and, if they have a final balance, find that as well as the total sent and recieved. I am working in python, and I have looked through the various API's, but so far I have found the best solution to be getting the JSON data from https://blockchain.info/
I use:
urllib.urlopen("https://blockchain.info/multiaddr?cors=true&active="+testStr)
where testStr is up to 23 addresses, separated by |
This returns a page which I dump into a json and parse for the data I need. I am just wondering if there is any faster method to get this information, rather than multiple calls to blockchain.info? thanks
Hi. Thank you for the input! I have got to try and code this first, but is it likely to be slower or faster than questioning blockchain? At the moment, my main concern is speed. – MrJanx – 2015-08-18T18:15:59.573
Very likely that accessing blockchain.info is faster because they have a per-address index. You need to rescan after every frame (+/-1000 address) which can take serval minutes. But blockchain.info might block your access because of high traffic or similar. – Jonas Schnelli – 2015-08-19T06:28:07.463