Coinbase Transaction
The basics
A coinbase transaction is the first transaction in every block. It creates and pays out the new coins in the block reward. It has no sender and does not pay gas.
The reward consists of the block’s subsidy and the miner’s share of the fees. That share includes every tip and 20% of the base fee.
The treasury output
The coinbase has a fixed first output for about the first four years. This output sends one eighth of the subsidy (1.5625 OTTE) to the treasury. The miner’s outputs follow it. Nodes themselves add this output to block templates, so mining pools do not need to change.
Subsidy
The initial subsidy is 12.5 OTTE per block. It is halved three times (see halving), after which it remains at 1.5625 OTTE per block forever (see tail emission).