npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

btc-fee

0.0.3 • Public • Published

btc-fee npm version CircleCI

Installation

npm install btc-fee

Usage

const btcfee = require('btc-fee')

recommended()

btcfee.recommended().then(fee => {
  console.log(fee);    // { fast: 330, medium: 310, slow: 260 }
});

estimated(latencyMinutes)

// About 180 minutes late is within an acceptable range
btcfee.estimated(180).then(fee => {
  console.log(fee);    // 210
});

License

MIT

install

npm i btc-fee

Downloadsweekly downloads

0

version

0.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability