forex.pm forex forum binary options trade

 Сryptocurrency exchanges => Binance - Сryptocurrency exchanges => Topic started by: Bitcoin on Mar 23, 2022, 04:13 am

Title: Where is the change from the output stored in?
Post by: Bitcoin on Mar 23, 2022, 04:13 am
Where is the change from the output stored in?

I'm learning that Bitcoin doesn't have a way to represent the account balance, but it's, rather, a sum of UTXO owned by the users of the private key.  Then where is the change from the output stored?



What I mean is, when the output of a transaction is used as the input of another transaction, it must be spent in its entirety. Sometimes the coin value of the output is higher than what the user wishes to pay. In this case, the client generates a new Bitcoin address, and sends the difference back to this address.



Does the change get stored back in UTXO?


Source: Where is the change from the output stored in? (https://bitcoin.stackexchange.com/questions/95772/where-is-the-change-from-the-output-stored-in)