Bitcoin Forum

Bitcoin => Project Development => Topic started by: jacktyme on March 07, 2016, 07:32:57 PM



Title: Query local blockchain in my PC
Post by: jacktyme on March 07, 2016, 07:32:57 PM
Hi everyone, I would like to know if it is possible to query the blockchain on my C drive in my AppData folder. I know I can use blockchain.info. Blockchain.info has the simple query which I would need. Simple query like e.g. /q/addressbalance/1EzwoHtiXB4iFwedPr49iywjZn2nnekhoj?confirmations=6. But instead of doing it over the internet, I would like to know if I can do this without doing it over the internet. Of course my internet would still be on to be synchronizing the bitcoin blockchain on my PC.

Anyone can help?


Title: Re: Query local blockchain in my PC
Post by: shorena on March 07, 2016, 07:39:02 PM
Hi everyone, I would like to know if it is possible to query the blockchain on my C drive in my AppData folder. I know I can use blockchain.info. Blockchain.info has the simple query which I would need. Simple query like e.g. /q/addressbalance/1EzwoHtiXB4iFwedPr49iywjZn2nnekhoj?confirmations=6. But instead of doing it over the internet, I would like to know if I can do this without doing it over the internet. Of course my internet would still be on to be synchronizing the bitcoin blockchain on my PC.

Anyone can help?

Well you can use the RPC calls[1][2] for bitcoin core, there is however none that will simple give you the balance of any address that is not part of your wallet.

[1] https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
[2] https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list