I got the testnet Bitcoin address with this command:

bitcoin-cli -testnet getnewaddress

And here is the Bitcoin address: 2NDtNjDbEiNiKDuAnwyKBmRPQ49NNpesdhE

As you can see in blockchain there was a confirmed transaction.

I checked my balance with this command:

bitcoin-cli -testnet getbalance

but the balance is 0.00000000

What is wrong here and how to fix this problem?

  • Is your node synced? Nov 5 '19 at 9:52
  • @RaghavSood I just checked that with bitcoin-cli -testnet getblockchaininfo and verificationprogress field shows it is 0.232278556934958. Nov 5 '19 at 10:13
  • 1
    So no, it is not synced. Wait until it is, and then your balance should reflect this transaction. Nov 5 '19 at 15:30

Your Answer

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

Browse other questions tagged or ask your own question.