Inputs, outputs, and change
Terms used in this lesson
- Outpoint
- A transaction ID plus output number that identifies one exact prior output.
- Witness
- Signatures, scripts, or other data supplied to satisfy a Bitcoin output’s spending condition.
- UTXO
- Unspent transaction output: one discrete chunk of bitcoin that can be used as a transaction input.
- Transaction ID
- The identifier produced by hashing a Bitcoin transaction’s non-witness serialization.
- Identifier
- Identifier: a value used to distinguish one request, object, or participant from another.
Inputs reference prior outpoints and provide witnesses; outputs assign values to new locking conditions.
Loading lesson visuals...
Learn the idea
A Bitcoin transaction input identifies one earlier output by its transaction ID and output index, a pair called an outpoint. The input supplies unlocking witness data and fields such as sequence. A transaction output creates a new amount in satoshis plus a locking script. Change is simply a new output controlled by the spender, not money left inside an input.
Select complete UTXOs
A wallet chooses exact unspent outputs. Each selected output will be consumed in full if the transaction confirms.
Inspect every idea above to open it.
Every referenced input is consumed whole. The transaction explicitly creates any retained value as change.
The questions unlock after every required learning activity
Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.