0

Continuing off of this question, Does change appear as an output in a transaction?, can you determine that Alice's change transaction really is a change transaction? Or to put it a different way, can you tell change transactions apart from regular transactions if you have the view key?

joe
  • 103
  • 3

1 Answers1

2

There is no such thing as a "change transaction". A transaction has inputs and outputs. When a user sends funds to someone, any change is just destined to one of the transaction outputs. Only the sender can derive which output has any change and how much that output has, and yes, they would be using their view key.

Remember though, there may not actually be any "change". A user could spend all the input(s) to one or more destinations (outputs) that are not theirs, and thus no change output needs creating by the wallet.

jtgrassie
  • 19,601
  • 4
  • 17
  • 54