Post
Topic
Board Bitcoin Technical Support
Re: Check if there's any BCH left in my address
by
HCP
on 18/01/2021, 21:08:10 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 in the dropdown menu in the console window Wink