Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make some API to provide the current optimize fee. #32

Open
wonbinbk opened this issue Jan 30, 2018 · 5 comments
Open

Make some API to provide the current optimize fee. #32

wonbinbk opened this issue Jan 30, 2018 · 5 comments

Comments

@wonbinbk
Copy link

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

@rtoronto
Copy link

rtoronto commented Feb 1, 2018

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

@wonbinbk
Copy link
Author

wonbinbk commented Feb 1, 2018

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.

@rtoronto
Copy link

rtoronto commented Feb 1, 2018

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

@lightningnetworkstores
Copy link

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.

@scriptzteam
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants