This guide explains Bitcoin Core estimatesmartfee RPC in plain English. It shows what the command does, what its result means and what it cannot prove.
TL;DR
- What it is: Bitcoin Core 0.16.0 estimatesmartfee accepted a confirmation target and an optional UNSET, ECONOMICAL or CONSERVATIVE mode. It returned a BTC-per-kilobyte fee rate when available, an errors array when estimation failed, and the block target for which the estimate was found.
- Why it matters: estimatesmartfee provides richer context than its deprecated predecessor, but applications must still handle clamping, missing data and units. The safe fee is a bounded policy decision applied to the final transaction, not an unquestioned RPC number.
- Current position: Bitcoin Core 0.16.0 estimatesmartfee accepted a confirmation target and an optional UNSET, ECONOMICAL or CONSERVATIVE mode.
Bitcoin Core estimatesmartfee RPC in simple English
Bitcoin Core estimatesmartfee RPC: CONSERVATIVE uses longer history and may produce a higher, steadier rate. ECONOMICAL reacts more to short-term drops and can underperform if conditions rise.
Simple example
A node operator is checking Bitcoin Core estimatesmartfee RPC. Multiply by final vsize, then independently compare the transaction’s actual input-minus-output fee before signing.
Key terms in plain English
- BIP:
- Bitcoin Improvement Proposal: a document describing a proposed rule, standard or process. Its status must be checked separately.
- Bitcoin Core:
- Widely used software that validates Bitcoin and can provide wallet, network and operator tools.
- RPC:
- A command that software sends to a node to request information or a local action.
- Mempool:
- A node’s changing local collection of valid, unconfirmed transactions.
- Node:
- A computer running Bitcoin software that checks data and communicates with other peers.
Requested and returned targets
conf_target expresses the desired blocks, but the returned blocks field can show a clamped or otherwise supported horizon. Record and display both values. A caller that ignores returned blocks can tell users it priced for one target while the estimator actually supplied evidence for another.
Conservative versus economical
CONSERVATIVE uses longer history and may produce a higher, steadier rate. ECONOMICAL reacts more to short-term drops and can underperform if conditions rise. UNSET defaults to conservative in the historical interface. Choose mode from payment urgency and replacement capability, not as an invisible global cost switch.
Optional result fields
feerate is optional and errors may be present when the estimator lacks enough history. Validate the object schema and branch explicitly on availability. Do not coerce a missing field to zero, and retain error text only after removing information that could reveal private operational context.
Units and rounding
The rate is BTC per kilobyte, based on BIP 141 virtual size. Convert using fixed decimal arithmetic to integer satoshis per virtual byte and round according to relay and application policy. Multiply by final vsize, then independently compare the transaction’s actual input-minus-output fee before signing.
Readiness and independence
Estimator output depends on the node’s observations, uptime, mempool policy and saved history. A newly restored or isolated node may have no useful estimate. Compare a small number of independent, policy-compatible nodes and monitor divergence, but do not outsource final fee choice blindly to a public API.
Fallback and limits
Define bounded fallback rates by urgency, permitted delay and RBF policy, with a maximum total fee as well as a rate ceiling. If no estimate exists, pause high-value automated withdrawals rather than guessing. Cache only with timestamp, target, mode and short expiry so stale weekend or congestion data cannot persist unnoticed.
How specialists test it
Operators test the command on a non-production node first. They check a normal reply, an invalid request, a timeout and a restart. This shows what the response means and prevents one local result from being mistaken for a network-wide outcome.
Frequently asked questions
What is the main point of Bitcoin Core estimatesmartfee RPC?
Bitcoin Core estimatesmartfee RPC: CONSERVATIVE uses longer history and may produce a higher, steadier rate.
For Bitcoin Core estimatesmartfee RPC, what should a beginner know about requested and returned targets?
conf_target expresses the desired blocks, but the returned blocks field can show a clamped or otherwise supported horizon.
For Bitcoin Core estimatesmartfee RPC, what should a beginner know about conservative versus economical?
CONSERVATIVE uses longer history and may produce a higher, steadier rate. ECONOMICAL reacts more to short-term drops and can underperform if conditions rise.
For Bitcoin Core estimatesmartfee RPC, what should a beginner know about optional result fields?
feerate is optional and errors may be present when the estimator lacks enough history.
Conclusion
estimatesmartfee provides richer context than its deprecated predecessor, but applications must still handle clamping, missing data and units. The safe fee is a bounded policy decision applied to the final transaction, not an unquestioned RPC number.
Primary sources
Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.
Join the ASIC Mining Discussion
Members can read and join the discussion
Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.
Membership helps us protect the discussion from spam and keep answers useful.