PSA: Wrong fee rates on block explorers

Tradeblock.com says the fee rate is 216.81 sat/B.
smartbit.com.au says the fee rate is 90.50 sat/B. — Update: smartbit.com.au has fixed their fee rates since this article. Thank you.

…but what does this transaction “weigh“?

Stripped size: 364 bytes
This is the size of a transaction when ignoring the witness.
Without witness each input is 76 bytes long, each of the five P2PKH outputs has 34 bytes, the P2SH output has 32 bytes, and the transaction header is 10 bytes.
2×76+5×34+32+10 = 364 bytes

Where are the 160.2 sat/B we are looking for?

The explorers are showing us “fee / stripped transaction size” and “fee / raw transaction size”. While the calculation with the stripped transaction size overestimates the fee rate by considering the transaction smaller than it is, using the raw transaction size underestimates the fee rate by ignoring the witness discount.

At last, BitFlyer gets it right by using scattershot:

BitFlyer lists all: the fee per raw tx size, the fee per WU and the actual fee rate.

Appendix: Additional honorary mentions

Blockchair tells us the “fee per kB” is 0.00216813 BTC. — Update: Blockchair has fixed their fee rates since this article. Thank you.
Blockchain.info shows the fee rate over raw byte length and a correct “Fee per weight unit” of 40.2 sat/WU, which however doesn’t compare to the established fee rates.
btc.com shows virtual size, but calculates the fee with the raw byte length: 90.5 sats/B. — Update: BTC.com has fixed their fee rates since this article. Thank you.
blocktrail.com shows stripped size of 364 bytes and a fee rate of 216.8 sat/B.
Blockcypher tells us the transaction’s size is 364 bytes, and doesn’t even give us a fee rate.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Murch

Murch

Account inactive. New articles appear on my blog: https://murch.one