UNPKG

bc-runes-js-new

Version:

A package to be able to mint, etch or transfer bitcoin runes very easily.

12 lines (9 loc) 265 B
const { get } = require('./http.js') const { estimateURL } = require('../config.js') async function estimate(blocks) { const estimatePerBlocksAmount = await get(estimateURL) return Math.round(estimatePerBlocksAmount[blocks]) } module.exports = { estimate }