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

Documentation for /api/utils/estimatefee #590

Open
hasanatkazmi opened this issue Jul 30, 2018 · 1 comment
Open

Documentation for /api/utils/estimatefee #590

hasanatkazmi opened this issue Jul 30, 2018 · 1 comment

Comments

@hasanatkazmi
Copy link

I am having difficulty in understanding estimatefee endpoint.
Currently, https://insight.bitpay.com/api/utils/estimatefee returns
{"2":0.00013758}

Is this BTC/byte? If so, this is absurdly high: A normal 226 byte transaction will cost 0.03109308 BTC. bitcoind also rejects as this fee is too high.
This can't seem like satoshis as this is decimal figure. (Also, codebase says its BTC/byte)

Can someone please help me understand how to calculate esimatefee works?

@skaplan
Copy link

skaplan commented Aug 7, 2018

this is just a shim over bitcoind estimatefee (http://chainquery.com/bitcoin-api/estimatefee) which returns fee/kilobyte

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

2 participants