<p>Bitcoin Core clients do not keep track of the balance of addresses that aren't yours.</p>

<p>To make sure that they do keep track of them, import the private keys into your wallet, and restart your Bitcoin client with the -rescan option.</p>

<p>That's what they mean by non-local.</p>

CC BY-SA 3.0
2014-10-23T04:11:10.187Z
Thanks. We have been using Blockchain.info to retrieve these information these days.
Phương Nguyễn
CC BY-SA 3.0
2014-10-23T04:11:46.837Z
@PhươngNguyễn That works too.
Nick ODell
CC BY-SA 3.0
2014-10-22T02:31:58.480Z
2014-10-22T02:31:58.480Z
Nick ODell
<p>I'm running a bitcoind on my web server now. I would like to generate deterministic address (HD Wallet) and then check how much coin being received on such address. I'm looking at the Server API and it's quoting that:</p>

<p><code>getreceivedbyaddress &lt;bitcoinaddress&gt; [minconf=1]</code>
Returns the amount received by <code>&lt;bitcoinaddress&gt;</code> in transactions with at least <code>[minconf]</code> confirmations. It correctly handles the case where someone has sent to the address in multiple transactions. Keep in mind that addresses are only ever used for receiving transactions. Works only for addresses in the local wallet, external addresses will always show 0.</p>

<p>That's being say the address need to be present in the local wallet for the check to be effective? Since I'm generating deterministic address outside of the bitcoind active wallet, is it considered non-local? If yes, how can I know the received amount?</p>

<bitcoind><api>
Checking the received fund on an address of an HD Wallet
Phương Nguyễn
# Checking the received fund on an address of an HD Wallet

(Asked by: username_0 on 2014-05-04)

I'm running a bitcoind on my web server now. I would like to generate deterministic address (HD Wallet) and then check how much coin being received on such address. I'm looking at the Server API and it's quoting that:

`getreceivedbyaddress <bitcoinaddress> [minconf=1]`
Returns the amount received by `<bitcoinaddress>` in transactions with at least `[minconf]` confirmations. It correctly handles the case where someone has sent to the address in multiple transactions. Keep in mind that addresses are only ever used for receiving transactions. Works only for addresses in the local wallet, external addresses will always show 0.

That's being say the address need to be present in the local wallet for the check to be effective? Since I'm generating deterministic address outside of the bitcoind active wallet, is it considered non-local? If yes, how can I know the received amount?

**Tags:** bitcoind, api


---

## 1 answers

### Answer by username_1 on 2014-10-22. Score: 1 | Accepted answer

Bitcoin Core clients do not keep track of the balance of addresses that aren't yours.

To make sure that they do keep track of them, import the private keys into your wallet, and restart your Bitcoin client with the -rescan option.

That's what they mean by non-local.

> **Comments:**
> **username_0**: Thanks. We have been using Blockchain.info to retrieve these information these days.  
> **username_1**: @username_0 That works too.  

---

