<p>version of bitcoin-cli 0.17.1</p>

<p>when I try</p>

<blockquote>
  <p>bitcoin-cli getbalance</p>
</blockquote>

<p>I get balance 0.00010471 BTC</p>

<p>when I try </p>

<blockquote>
  <p>bitcoin-cli listtransactions "*" 1000000 >aaa.txt</p>
</blockquote>

<p>and then calculate</p>

<blockquote>
  <p>SUM(receive) - SUM(send) - SUM(fee)</p>
</blockquote>

<p>I get 1.18202354 BTC</p>

<p>WHY???</p>

CC BY-SA 4.0
2019-09-24T03:24:48.237Z
Do you have any unconfirmed transactions or have you imported anything as watchonly?
Ava Chow
CC BY-SA 4.0
2019-09-25T04:06:35.280Z
No, I have not unconfirmed transactions and have not imported anything
Misha S.
<bitcoind><bitcoin-cli><listtransactions>
bitcoin-cli getbalance does not match balance with bitcoin-cli listtransactions
Misha S.
# bitcoin-cli getbalance does not match balance with bitcoin-cli listtransactions

(Asked by: username_0 on 2019-09-24)

version of bitcoin-cli 0.17.1

when I try

> bitcoin-cli getbalance

I get balance 0.00010471 BTC

when I try

> bitcoin-cli listtransactions "\*" 1000000 >aaa.txt

and then calculate

> SUM(receive) - SUM(send) - SUM(fee)

I get 1.18202354 BTC

WHY???

**Tags:** bitcoind, bitcoin-cli, listtransactions

> **Comments:**
> **username_1**: Do you have any unconfirmed transactions or have you imported anything as watchonly?  
> **username_0**: No, I have not unconfirmed transactions and have not imported anything  

---

## 0 answers

