I would like to take a look inside fee_estimates.dat to understand a bit better how the RPC command estimatesmartfee works. However, when I open the file in a text editor, the content is not readable.

Is there a way to read the information inside fee_estimates.dat?

1 Answer 1


You need to take a look at how fee_estimates.dat is written and interpreted. It is a binary file composed of:


With CURRENT being "when writing", i.e. when stopping bitcoind.

Here is the method writing the file, and here is the method reading this file (at startup). I think the latter can help you to parse it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.