2.0.0 • Published 5 years ago

bitcoin-fee v2.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

bitcoin-fee

Install

npm install bitcoin-fee

Usage

const BTCfee = require('bitcoin-fee')

BTCfee.fetchFee(service)

service is a String. It must be the name of one of the services in BTCfee.SERVICES.

Returns a Promise that resolves to the recommended satoshi/byte as a number.

Example:

BTCfee.fetchFee('21.co')
.then(fee => console.log(fee))
// -> 240

BTCfee.SERVICES

This is an array of available services to query.

License

MIT

2.0.0

5 years ago

1.0.0

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago