<p>Try this: </p>

<ol>
<li><p><code>getnewaddress</code>; </p></li>
<li><p><code>getaccount &lt;result from 1&gt;</code></p></li>
<li><p><code>getbalance &lt;result from 2&gt;</code></p></li>
</ol>

<p>For your information:<br/></p>

<blockquote>
  <p><a href="https://bitcoin.org/en/developer-reference#getbalance" rel="nofollow noreferrer">The getbalance RPC gets the balance in decimal bitcoins <strong>across all accounts</strong> <em>or</em> <strong>for a particular account</strong>.</a></p>
</blockquote>

<p><a href="https://bitcoin.stackexchange.com/questions/7490/what-is-the-difference-between-accounts-and-adresses">This question</a> should be also helpful for you.</p>

CC BY-SA 3.0
2015-05-14T12:12:07.390Z
2015-05-14T12:12:07.390Z
2017-04-13T12:47:32.940Z
Aliakbar Ahmadi
<p>i send btc in my-server created btc address.</p>

<p>which is created by "getnewaddress".</p>

<p>get the payment also and it's shown by "getbalance".</p>

<p>but i want to see the balance by "getbalance myaddress".</p>

<p>it's not showing. what is the reason?
 you anyone help me about it?
how a account will associated server created btc address?  </p>

<bitcoind><bitcoin-core>
won't show my balance by "getbalance myaddress" but show balance by "getbalance". what is the reason?
Md Shahadat Hossain
# won't show my balance by "getbalance myaddress" but show balance by "getbalance". what is the reason?

(Asked by: username_0 on 2015-05-14)

i send btc in my-server created btc address.

which is created by "getnewaddress".

get the payment also and it's shown by "getbalance".

but i want to see the balance by "getbalance myaddress".

it's not showing. what is the reason?
you anyone help me about it?
how a account will associated server created btc address?

**Tags:** bitcoind, bitcoin-core


---

## 1 answers

### Answer by username_1 on 2015-05-14. Score: 1

Try this:

1. `getnewaddress`;
2. `getaccount <result from 1>`
3. `getbalance <result from 2>`

For your information:

> [The getbalance RPC gets the balance in decimal bitcoins **across all accounts** *or* **for a particular account**.](https://bitcoin.org/en/developer-reference#getbalance)

[This question](https://bitcoin.stackexchange.com/questions/7490/what-is-the-difference-between-accounts-and-adresses) should be also helpful for you.


---

