1
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
bitcoin-rpc getunconfirmedbalance
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?
getbalancesnot longer works: via rpcJSONRPCError ({"code"=>-32601, "message"=>"Method not found"})via bitcoin-cliMethod not found– Nicos Karalis – 2019-07-16T18:50:02.967Forgot to mention, I'm using
Bitcoin Core Daemon version v0.18.0.0-g2472733a24a9364e4c6233ccd04166a26a68cc65– Nicos Karalis – 2019-07-16T19:09:16.1371
getbalancesin new in master; it isn't in any released version yet. – Pieter Wuille – 2019-07-16T19:59:02.870