ofek / bit

Bitcoin made easy.
https://ofek.dev/bit/
MIT License
1.24k stars 216 forks source link

The fee rate seems quite wrong. #152

Closed bombs-kim closed 2 years ago

bombs-kim commented 3 years ago

This library relies on https://bitcoinfees.earn.com/api/v1/fees/recommended for fee rate. According to this, hourFee is 88 (satoshi/byte) at the moment. This number is based on https://bitcoinfees.earn.com/api/v1/fees/list

However, according to this https://bitinfocharts.com/comparison/bitcoin-transactionfees.html#3y the average satoshi/byte is 13 now. I suspect, bitcoinfees.earn.com's information is unambiguously misleading.

Please also take a look at https://api.blockchain.info/mempool/fees https://api.blockchair.com/bitcoin/stats

As a side note, the chart https://bitcoinfees.earn.com/ also seems wrong, too.

NateNate60 commented 3 years ago

I started a PR to change the fee provider to Mempool.space. Hopefully, it gets merged, because bitcoinfees.earn.com is usually woefully wrong, often not even in the same order of magnitude.