Bitcoin fee estimates directly from your full node
Get bitcoin fee estimates directly from your full node
$ fees 100 e 300
feerate blocks hours fiat
0.00021095 9 1.5 0.513203379
0.00022140 8 1.33 0.5386263479999999
0.00064270 6 1 1.563573414
0.00100261 4 0.66 2.4391696601999993
0.00149164 2 0.33 3.6288916248
feerate
: the feerate for settxfee
, eg: bitcoin-cli settxfee 0.00021095
blocks
: the estimated number of blocks until first confirmationhours
: the estimated number of hours until first confirmationfiat
: the estimated fee (in fiat) based on current BTC/USD exchange rateCopy fees
to your bin path
Required dependencies:
* bitcoin-cli, running bitcoind
* curl, sort, sed, column, jq
All arguments are optional
$ fees [blocks] [estimate_mode] [tx_size_bytes] [fiat_price]
blocks
: number of blocks to look at for fee estimatetx_size_bytes
: size of the transaction (default 226
)estimate_mode
: c
or e
for conservative or economicalfiat_price
: current BTC price in fiat currency