And I just remembered, since you do not know which addresses have bitcoins.
If it's no too old, you have to specify which address type prior to using dummpwallet command because it'll associate such address type to the private keys in the dump file,
Those with associated transaction history saved in the wallet file even for another address type will show the correct address though.
Thanks! I'm assuming we can set the addresstype just so that dumpwallet only outputs private keys for those address type, thereby reducing the output
Let's say we have extracted lot of addresses from the wallet (say more than 2000), is there a quick and safe way to bulk check their balance?
I quickly checked online and few options are:
1. Use websites that allow you to enter addresses in bulk and then they will check the balance. I'm assuming they do it all client-side in the browser and use an API key to query one of the blockchain explorers.
2. Create a watch-only wallet in Electrum, and import all the addresses there. I haven't tried this before but I guess this could be a way