-
Notifications
You must be signed in to change notification settings - Fork 30
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
How to get a transaction fees? #58
Comments
Hi @awaik enhanced fee estimation will be added to bdk-flutter in the next release. It will have flutter api for this functionality bitcoindevkit/bdk-ffi#289 In the meantime electrs provides fee estimation: |
@awaik this is available in v0.27.1 |
Thank you! There is an issue - I've tried to use it and always have a result 1.0 sat/vB. Code |
As we can see in the example with the package
final PartiallySignedTransaction psbt = await txBuilder.addRecipient(script, 700).feeRate(1.1).finish(wallet);
it was used as a predefined transaction fee.
Also, on the BDK website, there is an article https://bitcoindevkit.org/blog/2021/01/fee-estimation-for-light-clients-part-1/ about this issue.
So the question is - what is the recommended way to get fees for building a UX like in the attached image?
The text was updated successfully, but these errors were encountered: