Skip to main content

Parameters

chainId
string
default:"bitcoin-testnet4"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"estimatesmartfee"
required
JSON-RPC method name.
params
object
required
Parameters: [confTarget, estimateMode?].Positional parameters for estimatesmartfee:
  • params[0]: Target confirmation window in blocks.
  • params[1]: Optional estimate mode (UNSET, ECONOMICAL, CONSERVATIVE).

Returns

result
object
Fee rate estimates in BTC/kvB along with error details.