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.

Denis Leonov
  • 945
  • 12
  • 28

2 Answers2

4

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

m1xolyd1an
  • 5,636
  • 2
  • 14
  • 30
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.

Denis Leonov
  • 945
  • 12
  • 28