bitcoin-fee
Install
npm install bitcoin-fee
Usage
const BTCfee =
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// -> 240
BTCfee.SERVICES
This is an array of available services to query.
License
MIT