Coinbase and subsidy
Terms used in this lesson
- Coinbase transaction
- The special first transaction in a Bitcoin block, which claims permitted subsidy and fees and has no ordinary prior-output input.
- Block subsidy
- New bitcoin that consensus permits a block's coinbase transaction to create at a particular height.
- 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.
- Outpoint
- A transaction ID plus output number that identifies one exact prior output.
- SegWit
- Segregated Witness: a Bitcoin upgrade that separates authorization data from the transaction identifier and introduces versioned witness programs.
- BTC
- The common market ticker for bitcoin.
The coinbase creates permitted subsidy and collects fees, with maturity rules before its outputs can be spent.
Loading lesson visuals...
Learn the idea
The coinbase transaction is the first transaction in a block. It has a special input that does not spend a prior UTXO and may create up to the permitted block subsidy plus transaction fees. Coinbase outputs require 100 additional blocks before they can be spent, a rule called coinbase maturity.
Create the special input
The coinbase input uses a null previous outpoint and includes block-height commitment and miner-selected extra data under applicable rules.
Inspect every idea above to open it.
Only the subsidy is new issuance. The fee portion comes from value omitted from ordinary transaction outputs.
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.