🧩 Why does a Bitcoin transaction have ā€œchangeā€?

A wallet with $BTC gathers unspent outputs, called UTXOs. A transaction spends the outputs it uses in full and creates new ones.

Fictional example:
• Input: 0.010 BTC.
• Recipient: 0.006 BTC.
• Change: 0.0039 BTC.
• Fee: 0.0001 BTC.

The change goes back to the sender in a new output. The fee is the difference between the inputs and all the outputs.

These numbers only illustrate how it works; they do not indicate a current fee.
That’s why adding up the inputs doesn’t tell you how much the recipient received.

Source: Binance Academy — UTXO
#bitcoin #blockchain

The author may receive rewards from Binance.