-1

I have a mini server for Bitcoind and simply wallet site. I can receive bitcoins... I can see tx in BlockChain. Everything is ok!

But; I'm entering terminal; bitcoin-cli getbalance or bitcoin-cli getbalance mybitcoinadress Result everytime; 0.00000000

But; I dump privkey mybitcoinadress, and I entered my phone wallet and I can see Right Balance!

Cihan Sancak
  • 1
  • 1
  • 1

1 Answers1

-1

There's no such API that returns balance for a given address.

bitcoin-cli getbalance  [account] [minconf=1]   

If [account] is not specified, returns the server's total available balance.

If [account] is specified, returns the balance in the account.

Link for further study.

Smuuf
  • 6,339
  • 3
  • 23
  • 35
Deepak Agrawal
  • 1,301
  • 5
  • 19
  • 43