<p>The <code>3CyZ...</code> address has a balance of <code>0.00946525 BTC</code>, so it appears that your nicehash wallets includes some other addresses as well.</p>

<p>In general, a bitcoin wallet will include a collection of addresses: the more you use the wallet the more addresses it will generate. Best practices include only using each receiving address once (if you search 'address reuse' you'll find the reasoning behind this), so every time you send or receive a transaction the number of addresses you wallet controls will increase.  </p>

<p>So to get an accurate account of your wallet balance, you'll need to sum the balance of <em>all</em> of the addresses the wallet controls, not just the <code>3CyZ..</code> address. </p>

CC BY-SA 3.0
2018-05-01T22:57:56.570Z
I know that Bitcoin wallet  is a hierarchical deterministic wallet,but i want to know how to get the exact balance(as in wallet that holds multiple addresses) from explorer for using one address only .
Mohamed Amin
CC BY-SA 3.0
2018-05-01T23:53:07.040Z
@MohamedAmin that is not possible, using one address will return the balance for that one address. A block explorer has no way of knowing which addresses are related by HD wallet derivation, as an HD-derived address is indistinguishable from any other address.
chytrik
CC BY-SA 3.0
2018-05-01T22:35:45.593Z
2018-05-01T22:35:45.593Z
chytrik
<p>I am coding a website to get BTC balance from explorer using the following url:</p>

<pre><code>https://blockexplorer.com/api/addr/3CyZgGhkhE3z2WY8E5ztPMRYCDdg1hdD7g/balance
</code></pre>

<p>The problem is that the balance appeared using this url (explorer) is totally different from what in my wallet (nicehash).</p>

<pre><code>Explorer balance for this address: 0.00946525 BTC

Wallet balance for this address: 0.01642334 BTC
</code></pre>

<p>What is the cause of this? and how to show the real balance in explorer exactly as in wallet?</p>

<wallet>
Difference in balance in my wallet and in btc explorer
Mohamed Amin
# Difference in balance in my wallet and in btc explorer

(Asked by: username_0 on 2018-05-01)

I am coding a website to get BTC balance from explorer using the following url:
https://blockexplorer.com/api/addr/3CyZgGhkhE3z2WY8E5ztPMRYCDdg1hdD7g/balance

The problem is that the balance appeared using this url (explorer) is totally different from what in my wallet (nicehash).
Explorer balance for this address: 0.00946525 BTC

Wallet balance for this address: 0.01642334 BTC

What is the cause of this? and how to show the real balance in explorer exactly as in wallet?

**Tags:** wallet


---

## 1 answers

### Answer by username_1 on 2018-05-01. Score: 1

The `3CyZ...` address has a balance of `0.00946525 BTC`, so it appears that your nicehash wallets includes some other addresses as well.

In general, a bitcoin wallet will include a collection of addresses: the more you use the wallet the more addresses it will generate. Best practices include only using each receiving address once (if you search 'address reuse' you'll find the reasoning behind this), so every time you send or receive a transaction the number of addresses you wallet controls will increase.

So to get an accurate account of your wallet balance, you'll need to sum the balance of *all* of the addresses the wallet controls, not just the `3CyZ..` address.

> **Comments:**
> **username_0**: I know that Bitcoin wallet  is a hierarchical deterministic wallet,but i want to know how to get the exact balance(as in wallet that holds multiple addresses) from explorer for using one address only .  
> **username_1**: @MohamedAmin that is not possible, using one address will return the balance for that one address. A block explorer has no way of knowing which addresses are related by HD wallet derivation, as an HD-derived address is indistinguishable from any other address.  

---

