1

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!

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

1 Answer 1

1

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).

4
  • how can I sync ? Commented Oct 1, 2018 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
    Commented Oct 1, 2018 at 21:04
  • I just run this command and got response new number. but the command estimatesmartfee not working yet! Commented Oct 1, 2018 at 21:08
  • cool sounds like it's syncing, just need to be patient.
    – JBaczuk
    Commented Oct 1, 2018 at 21:38

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.