How do I view the "change" addresses in my wallet? listreceivedbyaddress 0 true doesn't work

1

1

I just sent a test account 5 BTC. I see in the output 1.38BTC was "change" and needs to be sent back to my wallet.

Where can I find the contents of 1F39Qj4E3HnbnyYgan5CZa37spGfHro8eK, and was expecting to find it there, but I typed listreceivedbyaddress 0 true and don't see it

goodguys_activate

Posted 2013-03-10T03:29:53.107

Reputation: 11 898

Answers

1

The standard client always sends your Bitcoins back to a new address. If you want to figure out which address it went to, you can use gettransaction to view your transaction details (you got the ID when you issued the transaction), and check its outputs. The output that is not one of the addresses that you sent money to is your change address.

ThePiachu

Posted 2013-03-10T03:29:53.107

Reputation: 41 594

I was trying to figure out a wallet-centric way how to get that information... since it should be there right?goodguys_activate 2013-03-10T14:30:53.847

Well, it would be received by an address associated with a given account and it will be part of that given transacion. How more wallet-centric do you need to be?ThePiachu 2013-03-10T18:01:46.200

So are certain transactions stored / copied into the wallet? Then that would make sense.goodguys_activate 2013-03-10T18:12:14.950

@makerofthings7 I think all transactions relating to your wallet are stored in the wallet, including double-spends against it.ThePiachu 2013-03-10T21:46:11.560