Got into a flame war earlier today with someone complaining about TXN cost looking at BTC stats. I was explaining that the “average TXN cost” includes a lot of exchange traffic that are massive 50-in / 50-out TXNs. Then it occurred to me that a better stat would be TXN cost / UTXO. So a 50-in / 50-out would have 100 UTXOs (50 spent, 50 created). Using that logic, the “cost per UTXO” would be:
all_fees_in_block / (all_utxos_spent_in_block + all_utxos_created_in_block)
I might dust off my python IDE and give it a shot, but was curious if anyone is already compiling this stat. Obviously I would ignore the [coinbase TXN](https://learnmeabitcoin.com/technical/coinbase-transaction).