We have a bitcoin core client running on a production machine. This machine cannot have the private key so each address is added as watch only.
So far it has worked perfectly, but recently we need to display the btc amount that is waiting confirmation and the amount that is confirmed (at least 1 confirmation)
bitcoin-rpc getbalance * 0 true
these are the two methods that I've found online that should work, but they are not working.
getbalance returns only the confirmed amount and
getunconfirmedbalance returns always 0
How can I get the unconfirmed balance on a watch only wallet?