I have bitcoind running on windows and currently it's syncing the blockchain. Nevertheless, command getbalance always returns zero as value. Even if I seach for an address which has bitcoin.

C:\Program Files\Bitcoin\daemon>bitcoin-cli.exe getbalance "[address...]"

Why does it always return 0? I would like to get the address balance of a specific address. I used an address from blockchain.info which had a balance before the current downloaded block.


getbalance only applies to addresses you own (and are in your wallet.dat).

  • 1
    Better: it only applies to the balance of your whole wallet. It doesn't take an address argument as input (only deprecated account names). Dec 9 '17 at 17:51
  • Can I search for addresses which are not in my wallet? Like check payment of address x?
    – A.c
    Dec 10 '17 at 3:21
  • 1
    No, Bitcoin Core doesn't maintain the expensive indexes for that.
    – Claris
    Dec 10 '17 at 4:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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