LtbLightning / bdk-flutter

Bitcoin Development Kit - Flutter Package
MIT License
60 stars 27 forks source link

blockchain.estimateFee(target) still has the same issue #102

Closed aldrinzigmundv closed 9 months ago

aldrinzigmundv commented 10 months ago

This was mentioned in Issue #58, but I've tried using it in the latest version. Unfortunately, the function still consistently returns 1.0, regardless of the target, far from the current fee rate of the blockchain.

BitcoinZavior commented 10 months ago

For fees, its best to call the blockchain api directly, each blockchain provides a api for fees. Here is an example for rust using different blockchains: https://github.com/bitcoindevkit/bdk/issues/1053