0

Is it currently possible to calculate balance including UTXOs with 0 confirmations, for watch-only addresses?

getbalance "*" 0 true

includes utxos with 0 confirmations only if that address has private key in the wallet. Balance from watch-only addresses is added when corresponding UTXOs have at least 1 conf.

0

No. Bitcoind requires at least 1 confirmation before a utxo amount is added to your watch-only address balance. Which makes sense, as it can still be trivially double-spent whilst it is not yet confirmed.

Related question: bitcoind sendfrom with minconf=0

  • Thanks! If I want that feature, I could implement it by using "listunspent 0", and summing amounts, am I right? – Miloš Samardžija Jan 21 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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