<blockquote>
<p>I've read that addresses alone are a &quot;confusing&quot; way to think about &quot;where&quot; bitcoins &quot;are&quot;.</p>
</blockquote>
<p>Yep, addresses are only an encoded description of <em>how</em> the coins are locked, not <em>when</em>(<strong>*</strong>) they are.</p>
<blockquote>
<p>e.g. back in 2018 getaccountaddress would list 1 address, getaddressesbyaccount would list that plus a 2nd address, getaddressesbylabel would list those same two addresses, getwalletinfo would show a 0.0003 balance, and listaddressgroupings would also show that balance.</p>
</blockquote>
<p>The <code>listreceivedbyaddress</code> command is probably the most similar one : it lists coins locked to each address, if an address has been reused then you'll see multiple <code>txids</code>.  The balance will be updated accordingly.<br />
Given your first sentence, you might be interested in checking <code>listunspent</code> which will give you a less abstract representations of the coins you received.</p>
<blockquote>
<p>Now in 2020, that online explorer still shows that 0.0003 BTC balance, as it did in 2018, but due to deprecated cli commands, how can I confirm that with bitcoin-cli?</p>
</blockquote>
<p>So, you can use :</p>
<ul>
<li><code>getbalance</code> for your total balance</li>
<li><code>listreceivedbyaddress</code> for the representation by address</li>
<li><code>listunspent</code> for the representation by unspent transaction</li>
</ul>
<p>Finally, check the <code>Wallet</code> section of <code>bitcoin-cli help</code> for more commands. For more details about a command, use <code>bitcoin-cli help &lt;command&gt;</code>.</p>
<p>(<strong>*</strong>) You used &quot;where&quot; in your question, but I think since we are talking about blocks, it makes more sense to reason chronologically.</p>

CC BY-SA 4.0
2020-06-17T21:15:17.653Z
2020-06-17T21:15:17.653Z
Antoine Poinsot
<p>You can use getReceivedByAddress</p>
<p><a href="https://i.sstatic.net/PNcPL.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/PNcPL.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2022-06-19T08:59:34.377Z
2022-06-19T08:59:34.377Z
Olubusola
<p>I've read that addresses alone are a &quot;confusing&quot; way to think about &quot;where&quot; bitcoins &quot;are&quot;.  Nonetheless I was formerly (2018) able to correlate what I got from bitcoin-cli commands with what I saw on blockchain explorers like <a href="https://www.blockchain.com/btc/address/" rel="nofollow noreferrer">https://www.blockchain.com/btc/address/</a></p>
<p>e.g. back in 2018 getaccountaddress would list 1 address, getaddressesbyaccount would list that plus a 2nd address, getaddressesbylabel would list those same two addresses, getwalletinfo would show a 0.0003 balance, and listaddressgroupings would also show that balance.</p>
<p>Now in 2020, that online explorer still shows that 0.0003 BTC balance, as it did in 2018, but due to deprecated cli commands, <strong>how can I confirm that with bitcoin-cli?</strong></p>
<p>Background... I have been running a full bitcoin node on Ubuntu 16.04, kept updated, so currently Satoshi:0.18.0, and just to experiment and educate myself, I played around in 2018 with a bitcoin faucet until I managed to get 0.0003 BTC.  Then I had the faucet site transfer it to one of the addresses in my bitcoin node's wallet.</p>
<p>For non-deprecated commands I've also found
bitcoin-cli scantxoutset &quot;start&quot; &quot;[\&quot;addr()\&quot;]&quot;
from this question
https://bitcoin.stackexchange.com/questions/92342/how-to-quickly-get-the-balance-of-any-bitcoin-address-with-no-third-party-api however that too shows a zero balance for the two addresses that I can list from getaddressesbylabel.</p>

<bitcoin-cli><balance>
bitcoin-cli how to verify balance
Martin Moops
# bitcoin-cli how to verify balance

(Asked by: username_0 on 2020-06-17)

I've read that addresses alone are a "confusing" way to think about "where" bitcoins "are". Nonetheless I was formerly (2018) able to correlate what I got from bitcoin-cli commands with what I saw on blockchain explorers like <https://www.blockchain.com/btc/address/>

e.g. back in 2018 getaccountaddress would list 1 address, getaddressesbyaccount would list that plus a 2nd address, getaddressesbylabel would list those same two addresses, getwalletinfo would show a 0.0003 balance, and listaddressgroupings would also show that balance.

Now in 2020, that online explorer still shows that 0.0003 BTC balance, as it did in 2018, but due to deprecated cli commands, **how can I confirm that with bitcoin-cli?**

Background... I have been running a full bitcoin node on Ubuntu 16.04, kept updated, so currently Satoshi:0.18.0, and just to experiment and educate myself, I played around in 2018 with a bitcoin faucet until I managed to get 0.0003 BTC. Then I had the faucet site transfer it to one of the addresses in my bitcoin node's wallet.

For non-deprecated commands I've also found
bitcoin-cli scantxoutset "start" "[\"addr()\"]"
from this question
https://bitcoin.stackexchange.com/questions/92342/how-to-quickly-get-the-balance-of-any-bitcoin-address-with-no-third-party-api however that too shows a zero balance for the two addresses that I can list from getaddressesbylabel.

**Tags:** bitcoin-cli, balance


---

## 2 answers

### Answer by username_1 on 2020-06-17. Score: 3

> I've read that addresses alone are a "confusing" way to think about "where" bitcoins "are".

Yep, addresses are only an encoded description of *how* the coins are locked, not *when*(**\***) they are.

> e.g. back in 2018 getaccountaddress would list 1 address, getaddressesbyaccount would list that plus a 2nd address, getaddressesbylabel would list those same two addresses, getwalletinfo would show a 0.0003 balance, and listaddressgroupings would also show that balance.

The `listreceivedbyaddress` command is probably the most similar one : it lists coins locked to each address, if an address has been reused then you'll see multiple `txids`. The balance will be updated accordingly.  
Given your first sentence, you might be interested in checking `listunspent` which will give you a less abstract representations of the coins you received.

> Now in 2020, that online explorer still shows that 0.0003 BTC balance, as it did in 2018, but due to deprecated cli commands, how can I confirm that with bitcoin-cli?

So, you can use :

* `getbalance` for your total balance
* `listreceivedbyaddress` for the representation by address
* `listunspent` for the representation by unspent transaction

Finally, check the `Wallet` section of `bitcoin-cli help` for more commands. For more details about a command, use `bitcoin-cli help <command>`.

(**\***) You used "where" in your question, but I think since we are talking about blocks, it makes more sense to reason chronologically.


---

### Answer by username_2 on 2022-06-19. Score: 1

You can use getReceivedByAddress

[![enter image description here](https://i.sstatic.net/PNcPL.png)](https://i.sstatic.net/PNcPL.png)


---

