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
Feb 03, 2026

Parameters

conf_target
integer
REQUIRED

Confirmation target in blocks

estimate_mode
string

The fee estimate mode. By default, it is economical

Returns

result
object

Fee estimate object

feerate
number

(Optional) Estimate fee rate in BTC/kB (only present if no errors were encountered)

blocks
integer

Block number where estimate was found

errors
array

(Optional) Errors encountered during processing (if there are any)

str
string

Error

error
object | null

(Optional) JSON-RPC error when the request failed; omitted or null on success

code
integer

Error code

message
string

Error message

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"feerate": 0.00001,
5
"blocks": 10
6
},
7
"id": 1
8
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"feerate": 0.00001,
5
"blocks": 10
6
},
7
"id": 1
8
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free