http://bitcoin.stackexchange.com/questions/9077/how-to-get-all-addresses-including-the-change-addresses-from-bitcoindhttps://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_listlistaddressgroupings
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:
https://blockchain.info/And found the change address. It matches one of the addresses in the list.
listaddressgroupings version 0.7 Returns all addresses in the wallet and info used for coincontrol.
https://en.bitcoin.it/wiki/Accounts_explainedAccounts and Receiving Addresses
Each account is associated with zero or more receiving addresses, and every receiving address is associated with exactly one account. Coins sent to a receiving address in the wallet are credited to the associated account.
Accounts are associated with receiving addresses by using the getaccountaddress, getnewaddress or setaccount methods.
getaccountaddress will return the same address until coins are received on that address; once coins have been received, it will generate and return a new address.
getnewaddress always generates and returns a new address.
setaccount changes the account associated with an existing address. Coins previously received on that address (if any) will be debited from the previous account's balance and credited to the address' new account. Note that doing so may make the previous account's balance negative.
Use the getaddressesbyaccount method to list all addresses associated with an account.
https://i.imgur.com/lONBhgH.pnghttps://i.imgur.com/Nbufbte.jpghttps://i.imgur.com/oIT9bRo.pnghttps://i.imgur.com/c3tXLCb.pnghttps://i.imgur.com/t4ds57U.pnguser@sv2:~> x11coind getaddressesbyaccount 123
[
"XPB73cXe3b7xwT9mFkg5ra6eQTL7svngeF",
"XTwXxMBzCiMQA5HpjJnd9C3ZFRxx6ZpiJa"
]
user@sv2:~> x11coind listaddressgroupings | grep XPB73cXe3b7xwT9mFkg5ra6eQTL7svngeF
user@sv2:~> x11coind validateaddress XPB73cXe3b7xwT9mFkg5ra6eQTL7svngeF
{
"isvalid" : true,
"address" : "XPB73cXe3b7xwT9mFkg5ra6eQTL7svngeF",
"ismine" : true,
"isscript" : false,
"pubkey" : "02b0cf98b4ca40e58d30bba0744f76a69f5cfa07cdf413d95511578b119075f142",
"iscompressed" : true,
"account" : "123"
}
user@sv2:~>
user@sv2:~> x11coind listaddressgroupings
[
[
[
"XLw5UT2soGbNAUN5AFuMRJY68cXuc7cdTw",
1.43908000
],
[
"XNtedLHBQwKrsMQHZEPDr9tE1HjWQMiv1R",
0.00000000
],
[
"XGEwdTPxJtKkoqMHKMZsv25TXVAShNg4Ph",
0.00000000
],
[
"XD8r41EhUPYkH7UVv5nY6YWHQgifCQhkQp",
0.00000000
],
[
"XKYM87qGNV1JqxwRXeKM4R3uxzBCtkrADh",
0.00000000
],
[
"XL23D2NbRLJgtfjktGAP85ZYzp54W8e3Wz",
0.00000000
],
[
"XUYk9Qzf34wctNmjmSRnFnS8VLVE3U3Lmy",
0.00000000
],
[
"XKLYHkjkX2dPJs76mzusWMsq2qaU6XBVyh",
0.00000000
],
[
"XaMNa2SfxBfnEPwBti94C9nGHsTdmBGkKy",
0.00000000
],
[
"XEen8Rt5b1HrMsGcDsdYpFo1pdx5rYs9WM",
0.00000000
],
[
"XQUiDtApQu1XrHBuY3b58HtcnzENBShxno",
0.00000000
],
[
"XXBNjCrSo3DRoNGEUL6v9o2H9pKfQp9zSa",
0.00000000
],
[
"XRxBQRhQuHTu9WikQSAPu4vNcyFHySTp6t",
0.00000000
],
[
"XCrM9JvrshoRGFYvCVSpR3qEbeA3vs8fKV",
0.00000000
],
[
"XMJgqNXMjSScXS5a9yTy11FTs7brpSwH9b",
0.00000000
],
[
"XZCF1vRA14EP7a6g3JZaMg1vQVVyY7cGuo",
0.00000000
],
[
"XBd8qTY8QoH8dMfENPYuvzyB4huUWhAWGa",
0.00000000
],
[
"XJsegQfpHcw6SkXDcTf9dqHEP8cwEud8Ve",
0.00000000
],
[
"XZi5Sj2X8U58GrbFrQEpj8VpSeNKeYnFeg",
0.00000000
],
[
"XTejrn7nunVRaCv4N128WCGRwJGYJdyZsQ",
0.00000000
],
[
"XW1jdxAikupsj4ioRdoNH2VM9ihkgo9nit",
0.00000000
],
[
"XKASKGtCgjUmdmA4PxP2BsDP1XUvoiVsWk",
0.00093900
],
[
"XMDDFuadQFGas9Zn8nTMVFFGz9hUc7Jteo",
0.00000000
],
[
"XESZeacGKTvWcVfuz47wvjvdGNVm8zW5BA",
0.00000000
],
[
"XZSdpW5fVbtg8fuz4aToqZgpYVLLiQ9nPC",
0.00007000
],
[
"XRsgwxkDyFti2JS3KNM7A6fXJ2foZhsbBX",
0.00000000
],
[
"XNx6Rqzxi1E1YuXphaUPmeyFDHo3pqSLoF",
0.00000000
],
[
"XGmCiP5Q2h3t1X6U44LqxxNXZ9umjoQcd8",
0.00000000
],
[
"XMUpkk7rE387YU4mzmrsDm8cc54jAmrQFU",
0.00000000
],
[
"XTriYTymxpYMjfvktzZFjxK3nWToa98bwf",
0.00000000
],
[
"XX8Byg6vxRwAf3otgi4xaPGJWsc8keAyhc",
0.00000000
],
[
"XTegezJUWp7J25JRGR25W3wJkGskVQeHNy",
0.00000000
],
[
"XZZ96nkKtzYHydV7zVAgEWyiVsH6PNgGF2",
0.00000000
],
[
"XZbs2X8oYK1UkuQJtajGNRrkRWPvAwtS9T",
0.00000000
],
[
"XSprDafFRUFT2StauUXQm1EzV3FWTnU9mr",
0.00000000
],
[
"XaYKZ6mYciJt4NevMXuHfh7NqmUp9uqKiW",
0.00000000
],
[
"XRv8iYVVNjpHqtFzsxn9EjENkZdJkMA5yq",
0.00000000
],
[
"XGyZFFGATyBrnJynzE9q31k5Dx3EcPNBy9",
0.00000000
],
[
"XQNaC83ybcVPd8a5FycxjqFqF553rfLWfj",
0.00000000,
"test"
],
[
"XEvUefvvEv2R8GTeZouWNGgES81PPSPiHy",
0.00000000
],
[
"XEPeo5zJCgXJm7h6vdjxSMCi8d9aDBucd9",
0.00000000
],
[
"XTwXxMBzCiMQA5HpjJnd9C3ZFRxx6ZpiJa",
0.00000000,
"123"
],
[
"XTu5o7sxrgDMrUVRHdJdzU7RCB6YFai2U4",
0.00000000
],
[
"XaL8F4sBdiWWLAhFa7iTRJSyyKqoot5WmX",
0.00000000
],
[
"XFeSgSo1giU6nyA9S18cYRZYzcDcDiPFwP",
0.00000000
],
[
"XCoPapsod7eVwWpL39WakdGXtsshcDCkqp",
0.00000000
],
[
"XW8CkbSvpuwF1KGeGUfBjoP1egSon1zX28",
0.00000000
],
[
"XVBnfs1HNY3mZ7Fxdmee7K56JwoxHB4N2g",
0.00000000
],
[
"XNwAo2C5xZPGxJmuBsHDZR3hsAuPTbH2sP",
0.00000000
],
[
"XUiyxmxpZkpczkxtS8dwuXdmEphBwv2acA",
0.00000000
],
[
"XUtK1KTwWMQUQhBVzYRqbKi2Lqh5j6WQ2G",
0.00000000
],
[
"XFz3rYhzZMfp1rpP1tKcWM5zwhuGoyXd2z",
0.00000000
],
[
"XUMVwpfRtvPph4YyhjkrJgiiJLUyJBmLvN",
0.00000000
],
[
"XUxLhRhiNDxX1XN44i3PWEnHBErUadUgJS",
0.00000000
],
[
"XYPEP4niYhjo2NfGYxRTn58XxiG1GFVRn2",
0.00000000
],
[
"XDhozCRo5qA9Pp6T5N964Atp1VnjRgfgSp",
0.00000000
],
[
"XWPfmL13e6Rz16frMXkfXACK4eKJC5B3Eq",
0.00000000
],
[
"XT9ror66EH4UeyhmGyuhR8CvisQbVoGvmk",
0.00000000
],
[
"XEYksqcRopq14D6kvPiKfsNvrFbBMVxytC",
0.00000000
],
[
"XLrgCKX1fbds3z12PJZAG9xQaw38nWs5Jw",
0.00000000
],
[
"XLtbJLzVJV6H1DsXVCXnwPACfU5H99KsvU",
0.00000000
],
[
"XNApNzYJxZSQY8nDK2X2SLJAWv7uzpGgy2",
0.00000000
]
]
]