I am trying to get current fee for per transaction. So running command

bitcoin-cli estimatesmartfee 6

i am getting response lookl ike this

  "errors": [
    "Insufficient data or no feerate found"
  "blocks": 1

How ca I get real fee? Thanks!

  • 1
    Is the node fully synced?
    – JBaczuk
    Oct 1 '18 at 13:32
  • what do you mean saying fully synced? maybe no Oct 1 '18 at 14:18
  • Has it downloaded and verified all of the blocks? You can check with $ bitcoin-cli getblockcount
    – JBaczuk
    Oct 1 '18 at 15:09
  • I got response - 1315692 Oct 1 '18 at 19:52
  • looks like you're on testnet, there are 1414793 blocks so almost synced... live.blockcypher.com/btc-testnet
    – JBaczuk
    Oct 1 '18 at 19:53

It appears the node is not fully synced the entire blockchain. If your node is not fully synced, then it hasn't parsed the latest blocks to see what a reasonable tx fee would be for the current market. If it's not fully synced, then it might try to estimate based on old transactions, which you don't want, since they could be much lower (and your tx will never confirm), or much higher (and you overpay in fees).

  • how can I sync ? Oct 1 '18 at 20:50
  • I assume it is syncing, is the number increasing when you check $ bitcoin-cli getblockcount? It takes a while to download and verify all of the blocks, sometimes days or weeks depending on your machine specs.
    – JBaczuk
    Oct 1 '18 at 21:04
  • I just run this command and got response new number. but the command estimatesmartfee not working yet! Oct 1 '18 at 21:08
  • cool sounds like it's syncing, just need to be patient.
    – JBaczuk
    Oct 1 '18 at 21:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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