Read a Bitcoin Transaction Step by Step
Goal
Choose a public testnet transaction and identify its inputs, outputs, fee, and confirmation status.
Exercise
Compare the sum of input values with the sum of output values; the difference is the miner fee. Observe which output represents payment and which may represent change.
Verify your result
- Write down the expected behavior before running the exercise.
- Test one valid case and at least two invalid or unexpected cases.
- Confirm that errors are visible and that no sensitive values appear in logs.
- Save the observations so the procedure can be repeated.
Safety note
An output’s role cannot always be inferred from its address alone.
Next step
Read the [related guide](/wiki/bitcoin-utxo) before extending the exercise.
