2

How to get balance of any address using rpc bitcoind?

I mean getting by address the list of his unspent outputs in view something like this: TxHash;Value;Noutput.

2 Answers 2

4

You would run the listunspent response through a loop and total up all the values from all the unspent outputs for that address.

2
  • listunspent working only with addresses in your walett Aug 18, 2017 at 8:54
  • 1
    @Denis Yes, Bitcoin Core does not track the balance of every address. Only of the combined balance of your entire wallet. Sep 17, 2017 at 5:53
1

There is no possible way to get balance by any address using rpc bitcoind.

You can only get balance of your's wallet adresses.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.