<p>Go to the RPC and do 'listunspent', it will show you all amounts in a core wallet that are available to spend.</p>

<p>If you for example labelled an address, you can also use 'listaccounts' to see what is available in each one.</p>

CC BY-SA 4.0
2018-07-10T17:44:33.337Z
2018-07-10T17:44:33.337Z
Scalextrix
<p>You have to scan all blockchain (or utxo set) and summarize all unspent outputs for each address.</p>

CC BY-SA 4.0
2018-07-10T17:27:32.177Z
2018-07-10T17:27:32.177Z
bitaps.com
<p>I’m currently having a hard time figuring how to get to check users wallet addresses and get the balances ie if a user wants to send out 3btc and they have like 10 addresses with different amounts inside them, how do I subtract the amount from each address to get the 3btc the user wants to send out?</p>

<bitcoin-core>
How to get each wallet address balance
kene A
# How to get each wallet address balance

(Asked by: username_0 on 2018-07-10)

I’m currently having a hard time figuring how to get to check users wallet addresses and get the balances ie if a user wants to send out 3btc and they have like 10 addresses with different amounts inside them, how do I subtract the amount from each address to get the 3btc the user wants to send out?

**Tags:** bitcoin-core


---

## 2 answers

### Answer by username_1 on 2018-07-10. Score: 1

Go to the RPC and do 'listunspent', it will show you all amounts in a core wallet that are available to spend.

If you for example labelled an address, you can also use 'listaccounts' to see what is available in each one.


---

### Answer by username_2 on 2018-07-10. Score: -1

You have to scan all blockchain (or utxo set) and summarize all unspent outputs for each address.


---

