What RPC can I use to query the balance of an arbitrary address

1

How do I get the balance of an arbitrary address using Bitcoin RPC calls? From the RPC calls I can see you are required to have the private key or an account to use the RPC.

For illustrations sake, if you could demo querying this address:

1HB5XMLmzFVj8ALj6mfBsbifRoD4miY36v

That would be great. Here is the actual balance for this address.

Chris Stewart

Posted 2014-11-03T19:26:07.723

Reputation: 865

Question was closed 2014-11-20T14:45:47.750

Answers

1

This has already been answered here:

The pull request for this feature (support for watch-only addresses) can be found at: https://github.com/bitcoin/bitcoin/pull/4045

George Kimionis

Posted 2014-11-03T19:26:07.723

Reputation: 2 824

When a question has previously been answered, it is usually best to flag it as a duplicate, rather than posting a new answer. If you have information to add (like the pull request), please add it as an answer or comment to the previous question.Nate Eldredge 2014-11-04T02:50:10.430

@NateEldredge I obviously couldn't add a new answer to the previous question just to add the pull request info. I could post it as a comment but then again do you see a place it could fit? I don't. On top of that, a question should be marked as duplicate if not only the question context is identical to a previous question but their answers are also identical, at least according to our mod David Schwartz: http://meta.bitcoin.stackexchange.com/questions/45/closed-as-exact-duplicate-due-to-significant-overlap#comment69_53

George Kimionis 2014-11-04T04:27:45.083