Post
Topic
Board Bitcoin Technical Support
Re: Check if there's any BCH left in my address
by
dazz.
on 18/01/2021, 21:33:54 UTC
Is there a command to check if the address is in the wallet, to be 150% sure that I won't be sending the money to an address I don't own?
Try using the getaddressinfo command:
Code:
getaddressinfo 1BitcoinAddress

Right near the top of the output you should see "ismine". If that is "true" then the private keys that the address is derived from is in your wallet.dat.



NOTE: If you have multiple wallet.dat's "open" in Bitcoin Core, make sure you have set the correct wallet selected in the dropdown menu in the console window Wink


That did the trick, thank you. You can never be too sure of something like this, hehe.