bitcoind.app
CommandsGuidesContact ↗
Home/Util/estimatesmartfee
Util

estimatesmartfee

Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks.

Parameters

conf_targetnumberREQUIRED
Confirmation target in blocks (1 - 1008)
estimate_modestringoptional
"UNSET", "ECONOMICAL", or "CONSERVATIVE". Default: "CONSERVATIVE"

Returns

objectFee rate and number of blocks estimate is based on

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"estimatesmartfee","params":[6]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

{
  "feerate": 0.00012345,
  "blocks": 6
}
← Previous
deriveaddresses
Next →
getdescriptorinfo

More Util Commands

createmultisigderiveaddressesgetdescriptorinfogetindexinfosignmessagewithprivkeyvalidateaddress

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗