Bitcoin fee estimates directly from your full node
Switch branches/tags
Nothing to show
Clone or download
Latest commit 2fadaa9 Nov 19, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md example help Nov 19, 2017
fees readme: example Nov 19, 2017

README.md

bitcoin-fees

Get bitcoin fee estimates directly from your full node

Example

$ 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 confirmation
  • hours: the estimated number of hours until first confirmation
  • fiat: the estimated fee (in fiat) based on current BTC/USD exchange rate

Installation

Copy fees to your bin path

Required dependencies:

* bitcoin-cli, running bitcoind
* curl, sort, sed, column, jq

Usage

All arguments are optional

$ fees [blocks] [estimate_mode] [tx_size_bytes] [fiat_price]
  • blocks: number of blocks to look at for fee estimate
  • tx_size_bytes: size of the transaction (default 226)
  • estimate_mode: c or e for conservative or economical
  • fiat_price: current BTC price in fiat currency