A coinbase transaction is the first transaction in a block, including the genesis block. This transaction typically includes the creation of new cryptocurrency tokens as a reward for the miner who successfully added the block to the chain. In the case of the genesis block, the coinbase transaction often represents the initial distribution of cryptocurrency tokens.