Let me see if I understand what you are saying. Within blockchain explorer, I know how to find the fee for a given transaction within a block. And I know how to see the total reward (base reward + fee reward) for writing the entire block.
The transaction fee is not explicitly stored in the transaction raw data. The tool you use to view the transaction details ( be it a block explorer, wallet..) can easily determine how much the transaction is paying in fees by deducting the sum of all outputs from the some of all inputs. Then it can calculatethe fee rate by deviding the fee by the transaction size/weight.
So if the fees do not appear in my individual hash (and in all the other individuals hashes within the block), I assume there must be a separate, unique transaction that records the total reward for the miner. Correct? What does this transaction look like? Does it also have inputs and outputs?
Yes, it’s called a
coinbase transaction. Here is an example of a coinbase transaction:
https://mempool.space/fr/tx/3ab4289f8e56c7eb32b8807720906808462e5e82159937f40919b4a6df9cdce0?mode=details