Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/bitcoin_rpc/mod.ts>default#estimatesmartfee

A Bitcoin RPC Module for Deno.
Latest
method default.prototype.estimatesmartfee
import { default } from "https://deno.land/x/bitcoin_rpc@v1.0.3/mod.ts";

Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks if possible and return the number of blocks for which the estimate is valid. Uses virtual transaction size as defined in BIP 141 (witness data is discounted). https://developer.bitcoin.org/reference/rpc/estimatesmartfee.html

Parameters

conf_target: number
optional
estimate_mode: string