@shubhu2002/bc-runes-js
Version:
A package to be able to mint, etch or transfer bitcoin runes very easily.
13 lines (10 loc) • 315 B
JavaScript
const { get } = require('./http.js')
const { estimateURL } = require('../config.js')
async function estimate(blocks) {
const estimatePerBlocksAmount = await get(estimateURL)
// return Math.round(estimatePerBlocksAmount[blocks])
return estimatePerBlocksAmount["fastestFee"]
}
module.exports = {
estimate
}