Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: racezefi on April 18, 2016, 09:15:23 PM



Title: How to query Bitcoin Core to get the balance of an address you don't own?
Post by: racezefi on April 18, 2016, 09:15:23 PM
From what I've been checking, getreceivedbyaddress RPC command doesn't work on addresses not added in the wallet.

How can I query the whole blockchain for the balance of a list of addresses?
Bonus question, same thing but with xpub keys.


Title: Re: How to query Bitcoin Core to get the balance of an address you don't own?
Post by: achow101 on April 18, 2016, 09:21:07 PM
You cannot.


Title: Re: How to query Bitcoin Core to get the balance of an address you don't own?
Post by: racezefi on April 19, 2016, 07:05:48 AM
Thanks!

Going to try BitCore.
Is there any other way that might be more efficient, aside from using a site with an API, like blockchain.info?