<p>The fee estimator works by targeting the number of blocks that will occur between the time when you broadcast and when it confirms. So a confirmation target of 6 would mean that the fee estimator is trying to get your transaction confirmed within 6 blocks. The fee estimator does not know within how many blocks you want your transaction to be confirmed, so it asks you as a parameter.</p>

<p>The default value for this is 6, but you can set it to whatever you want.</p>

CC BY-SA 4.0
2019-06-02T01:48:10.857Z
2019-06-02T01:48:10.857Z
Ava Chow
<p>I am trying to use the <code>sendtoaddress</code> rpc method of bitcoin core. From the <a href="https://bitcoincore.org/en/doc/0.17.0/rpc/wallet/sendtoaddress/" rel="nofollow noreferrer">documentation</a> I read that I can pass <code>"estimate_mode"</code> parameter to estimate a fee. However as I believe json rpc follows positional parameters, so this parameter falls in the 8th position, before this there is another optional parameter named <code>"conf_target"</code>. What value should I pass for this parameter?</p>

<pre><code>bitcoin-cli bchtest:qp4uw0why90dht7texkv3nnws4cjml844y5ck8rr3q  0.1 "" "" false false ? "CONSERVATIVE"
</code></pre>

<p>What value should I pass in place of <code>'?'</code> ?</p>

<bitcoin-core><bitcoind><bitcoin-cli>
Bitcoin Core What default values should I pass for some positional RPC params in sendtoaddress
Paras
# Bitcoin Core What default values should I pass for some positional RPC params in sendtoaddress

(Asked by: username_0 on 2019-05-31)

I am trying to use the sendtoaddress rpc method of bitcoin core. From the documentation I read that I can pass "estimate_mode" parameter to estimate a fee. However as I believe json rpc follows positional parameters, so this parameter falls in the 8th position, before this there is another optional parameter named "conf_target". What value should I pass for this parameter?
bitcoin-cli bchtest:qp4uw0why90dht7texkv3nnws4cjml844y5ck8rr3q  0.1 "" "" false false ? "CONSERVATIVE"

What value should I pass in place of '?' ?

**Tags:** bitcoin-core, bitcoind, bitcoin-cli


---

## 1 answers

### Answer by username_1 on 2019-06-02. Score: 0 | Accepted answer

The fee estimator works by targeting the number of blocks that will occur between the time when you broadcast and when it confirms. So a confirmation target of 6 would mean that the fee estimator is trying to get your transaction confirmed within 6 blocks. The fee estimator does not know within how many blocks you want your transaction to be confirmed, so it asks you as a parameter.

The default value for this is 6, but you can set it to whatever you want.


---

