won't show my balance by "getbalance myaddress" but show balance by "getbalance". what is the reason?

0

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?

Md Shahadat Hossain

Posted 2015-05-14T06:09:08.140

Reputation: 197

Answers

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.

This question should be also helpful for you.

Aliakbar Ahmadi

Posted 2015-05-14T06:09:08.140

Reputation: 1 335