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

CC BY-SA 4.0
2018-10-01T20:50:16.923Z
how can I sync ?
Yur Gasparyan
CC BY-SA 4.0
2018-10-01T21:04:36.673Z
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
CC BY-SA 4.0
2018-10-01T21:08:12.113Z
I just run this command and got response new number. but the command `estimatesmartfee` not working yet!
Yur Gasparyan
CC BY-SA 4.0
2018-10-01T21:38:19.620Z
cool sounds like it's syncing, just need to be patient.
JBaczuk
CC BY-SA 4.0
2018-10-01T20:39:21.550Z
2018-10-01T20:39:21.550Z
JBaczuk
<p>I am trying to get current fee for per transaction. So running command</p>

<pre><code>bitcoin-cli estimatesmartfee 6
</code></pre>

<p>i am getting response lookl ike this</p>

<pre><code>{
  "errors": [
    "Insufficient data or no feerate found"
  ],
  "blocks": 1
}
</code></pre>

<p>How ca I get real fee?
Thanks!</p>

CC BY-SA 4.0
2018-10-01T13:32:51.567Z
Is the node fully synced?
JBaczuk
CC BY-SA 4.0
2018-10-01T14:18:13.070Z
what do you mean saying fully synced? maybe no
Yur Gasparyan
CC BY-SA 4.0
2018-10-01T15:09:33.163Z
Has it downloaded and verified all of the blocks? You can check with `$ bitcoin-cli getblockcount`
JBaczuk
CC BY-SA 4.0
2018-10-01T19:52:17.243Z
I got response - 1315692
Yur Gasparyan
CC BY-SA 4.0
2018-10-01T19:53:29.087Z
looks like you're on testnet, there are 1414793 blocks so almost synced... https://live.blockcypher.com/btc-testnet/
JBaczuk
CC BY-SA 4.0
2018-10-01T20:03:21.130Z
yes I have on testnet!  its full node ? and why i cant to get fee ?
Yur Gasparyan
<bitcoind><bitcoin-cli><fee-estimation>
Estimate smart fee returns an error
Yur Gasparyan
# Estimate smart fee returns an error

(Asked by: username_0 on 2018-10-01)

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!

**Tags:** bitcoind, bitcoin-cli, fee-estimation

> **Comments:**
> **username_1**: Is the node fully synced?  
> **username_0**: what do you mean saying fully synced? maybe no  
> **username_1**: Has it downloaded and verified all of the blocks? You can check with `$ bitcoin-cli getblockcount`  
> **username_0**: I got response - 1315692  
> **username_1**: looks like you're on testnet, there are 1414793 blocks so almost synced... https://live.blockcypher.com/btc-testnet/  
> **username_0**: yes I have on testnet!  its full node ? and why i cant to get fee ?  

---

## 1 answers

### Answer by username_1 on 2018-10-01. Score: 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).

> **Comments:**
> **username_0**: how can I sync ?  
> **username_1**: 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.  
> **username_0**: I just run this command and got response new number. but the command `estimatesmartfee` not working yet!  
> **username_1**: cool sounds like it's syncing, just need to be patient.  

---

