I want to get all my addresses - including the auto-generated "change" addresses - from a running bitcoind somehow.

I haven't been able to do it in a simple way. "getaddressesbyaccount" and all the other API options are only listing the "public" addresses and sometimes few additional ones, but never the already used change addresses. Can I do that somehow?

3 Answers 3



I used the command listaddressgroupings from the bitcoin-qt console window and it listed all my addresses. I then looked for one of my old send transactions here:


And found the change address. It matches one of the addresses in the list.

  • 1
    I think you are correct. I will let you know and accept this if this is indeed correct. Commented Apr 6, 2013 at 20:20
  • I did that and there's nothing in my groupings.
    – Colin Dean
    Commented Apr 7, 2013 at 16:33
  • When I use that command, I see every address that I've ever used. Are you sure that the wallet is loaded? It shows other tranactions and non-change addresses? You can find your change addresses by looking up your addresses on blockchain.info
    – Eyal
    Commented Apr 7, 2013 at 18:17
  • 1
    This also showed me the balance of each address, which was precisely what I needed. Commented Aug 11, 2015 at 20:28
  • 2
    This only shows used addresses in your wallet. The proper command is listreceivedbyaddress 0 true which lists all addresses in your wallet regardless of whether or not they have been used.
    – CR.
    Commented Feb 26, 2022 at 21:29

You may be able to use pywallet to get these.

Download a more updated version here.


The proper command is $ bitcoin-cli listreceivedbyaddress 0 true. It will list all addresses in your wallet, regardless of have being used or not

This answer was originally a comment by CR to Eyal's answer

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.