pull down to refresh
Thanks for supporting the project, @balthazar. I agree with what you mentioned. For example, Sparrow Wallet relies on mempool to suggest the user’s fee rate. Of course, the user ultimately chooses, but the displayed data is still based on that same rounding logic. Even so, from what I see, the UX they use is quite limited in resources, which in a way makes it better than mempool’s, because it does not push the user into three fixed choices: economy, normal, and priority.
reply
The overestimation is real but by design
Fee estimators aim to guarantee confirmation at the target speed, which means they use the top of the fee distribution in the current mempool — not the median. Add the
Math.ceilrounding noted above and you get systematic over-estimation, especially when the mempool is calm.For your app, practical options:
/api/v1/fees/recommendedreturnsfastestFee,halfHourFee,hourFee, andeconomyFee. Most non-urgent transactions can usehourFeeand still confirm without issue.The root issue: estimators optimize for reliability, not economy. For a dashboard app, surfacing the fee tier choice explicitly to users is more honest than silently defaulting to "fastest" and letting them overpay.