Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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

About

Bitcoin fee estimates directly from your full node

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.