I have bitcoin associated with a wallet that I am now moving from a server to external storage for backup. As far as I know, all I need to do is copy the wallet.dat file to external storage and I'm good (given that I won't be doing any transactions in the foreseeable future).

My question is: once I move the wallet.dat file over, how do I check --without downloading the block chain -- the balance associated with it to make sure all is well?

2 Answers 2


I think your question has an underlying misconception. The wallet only contains bitcoins in an abstract sense: In realitas the wallet only stores the private keys that enable you to spend the bitcoin balance that is associated with your addresses. Think of it this way: When you look into your wallet, you only see a number of little boxes. You know that all these boxes are yours, but from the outside all boxes look the same, regardless of what they contain. You can only know how much you have in this boxes, by opening each of the and counting their contents. This "looking into the boxes" step happens by looking up the balances of your addresses in the public ledger (the block chain). The wallet.dat might contain the balance that was last counted when you compared to the blockchain, but can only be updated to the current state when counting the contents of the little boxes again.

So, without downloading the blockchain and having your software calculate your current balance, you could only check "if everything is alright" by looking up specific addresses. If you received your bitcoins in one transaction the balance is associated only with one address and this address could easily be written down or memorized separately from the wallet. You could then proceed to look up the balance of it on a website such as for example http://blockchain.info. This can be done safely, as the address alone does not allow anyone to spend the bitcoins.

So, summing up: Just from the wallet.dat you cannot get an update on the balance without acquiring additional information. You can however check the balance of addresses directly by using publicly available information.

  • 5
    Can I get these addresses given a wallet.dat file?
    – Hudon
    Commented Aug 25, 2013 at 2:55
  • I think yes, unless it is encrypted and you don't know the passphrase.
    – Murch
    Commented Aug 25, 2013 at 4:08
  • 1
    I've reworded the question to correct the "wallet doesn't contain the bitcoins" error. The question remains unanswered though: how do I figure out my balance given just the wallet.dat file (no blockchain)?
    – Hudon
    Commented Aug 25, 2013 at 14:05
  • The blockchain is needed, since your coins are in blockchain, not in a wallet. You can use already mentioned website blockchain.info to check balance of your address, without messing with blockchain at your side.
    – ripazha
    Commented Aug 25, 2013 at 15:09
  • 4
    There seems to be a contradiction. First you said that it is possible to get the addresses given a wallet.dat file, but then you updated your answer to say that the only way to get these addresses is to write them down a priori. Knowing which one is true would be useful so we can get a final answer to whether or not the original problem can be solved.
    – Hudon
    Commented Aug 25, 2013 at 18:32

Regarding your followup question on how to list addresses. You might try something like

bitcoind listreceivedbyaddress 0 true

although I have no idea if that command works without the full blockchain being present. If it doesn't do what you want, there's also one called listaccounts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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