Post
Topic
Board Development & Technical Discussion
Re: Checking balance of another address from daemon?
by
jgarzik
on 08/09/2013, 05:36:00 UTC
Hey all,

I am looking to check the balance of an address I don't own (e.g. 1HtUGfbDcMzTeHWx2Dbgnhc6kYnj1Hp24i) from the daemon, is this possible using an existing command? I have tried getreceivedbyaddress and listreceivedbyaddress but they do not seem to work.

The easiest way currently is to visit http://blockchain.info/ or http://blockexplorer.com/

There are a couple features under development which will enable this facility in a decentralized fashion, for anyone using Bitcoin-Qt or bitcoind:

1) An optional address index is being added, for searches such as these

2) A pull request exists for "watch only address" support.  A watch-only address is an address in your bitcoin wallet for which you do not have the private key.  With this feature, bitcoind will dutifully watch for any transactions on the watched addresses, just like a normal bitcoin address you control.