Skip to main content

estimatesmartfee RPC Method

Estimates the smart fee per kilobyte to be paid for a transaction and also returns the number of blocks for which the estimate is valid.

Updated on
Oct 4, 2023

estimatesmartfee RPC Method

Parameters

conf_target
numeric
REQUIRED
Confirmation target in blocks
estimate_mode
string
The fee estimate mode. By default, it is CONSERVATIVE

Returns

blocks
Block number where estimate was found
feerate
estimate fee rate in BTC/kB
errors
Errors encountered during processing
str
Error
Request
1
curl https://docs-demo.btc.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method": "estimatesmartfee", "params": [10]}'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free