arrow_back
Back

Bitcoin transactions: inputs, outputs, fees, and ownership chains

Andrew Dorokhov Andrew Dorokhov schedule 1 min read
menu_book Table of Contents

Transactions are like double-entry bookkeeping records. Each has one or more inputs (where value comes from) and one or more outputs (where value goes). Inputs and outputs do not have to sum to the same amount: outputs are slightly less because of a fee paid to miners for including the transaction in a block.

Transactions move value from inputs to outputs. An input is usually an output of a previous transaction. An output assigns a new owner via a locking script (typically requiring a signature to spend).

Outputs of one transaction can become inputs of later ones, forming a chain of ownership as value moves from address to address.

Materials

code

Need Help with Development?

Happy to help — reach out via the contacts or go straight to my Upwork profile.

work View Upwork Profile arrow_forward
Next Article

Bitcoin addresses: formats, privacy, and explorers

arrow_forward