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?

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.