mempool icon indicating copy to clipboard operation
mempool copied to clipboard

Make some API to provide the current optimize fee.

Open wonbinbk opened this issue 7 years ago • 5 comments

Hi! Fantastic tool for a bitcoin user! I was using this site every time I need to transfer bitcoin. As someone has said on another Issues thread, we should put the "Mempool size in fee" chart to the top. And while you're at it, please create an API call to get the best fee at calling time (the fee that will fit in 1MB size). I think most of us is best interested in that information.

I was looking into the code and since I got almost zero knowledge about web and javascript programming, I got no clue how your website connect and get information from your mempool and how I can utilize that to create for example a Python script to get data from your mempool. I don't know if you'd allow that.

Cheers, Thai

wonbinbk avatar Jan 30 '18 07:01 wonbinbk

Something like below? https://bitcoinfees.earn.com/api/v1/fees/list https://bitcoinfees.earn.com/

rtoronto avatar Feb 01 '18 02:02 rtoronto

Yes, something like that. But I prefer Johoe's mempool because it seems to be more accurate. While Johoe's site was saying, for example, 5 sat/byte to get in the next block, bitcoinfees.earn.com said 150 sat/byte which was not true at all. I use Johoe's numbers and I get in the next block everytime.

wonbinbk avatar Feb 01 '18 02:02 wonbinbk

Very true, in highly volatile points Johoe's data helps optimize. Cheers.

rtoronto avatar Feb 01 '18 02:02 rtoronto

I arrived a bit late to the discussion but I totally agree with @wonbinbk, it would be great to have an API where we could request the best fee. The tools that exist now: https://twitter.com/bitcoin_fees https://bitcoinfees.earn.com/api/v1/fees/recommended

...are inaccurate. https://twitter.com/bitcoin_fees/ updates every four hours or so and https://bitcoinfees.earn.com is very inaccurate because it rounds to a multiple of ten (10,20,30,...). Like @wonbinbk mentioned https://bitcoinfees.earn.com seems to overestimate the fees.

lightningnetworkstores avatar Mar 02 '18 20:03 lightningnetworkstores

You can check also:

https://github.com/scriptzteam/BitCoin-MemPool-Fees

[LiVE] BitCoin MemPool Fees

memfees.txt = Global MemPool Fees

memfeeshight.txt = Highest Fees

memfeeslow.txt = Lowest Fees

And also: https://bitcoin-mempool.wtflab.pw/

scriptzteam avatar Mar 04 '18 08:03 scriptzteam