fix: fee unit and batch fees

This commit is contained in:
Rafael Taranto 2024-01-25 15:28:17 +00:00
parent 575dbeabe5
commit d3533c44f0
2 changed files with 13 additions and 12 deletions

View file

@ -1,8 +1,8 @@
const axios = require("axios");
const getEstimateFeeBtc = () => {
const getSatBEstimateFee = () => {
return axios.get('https://mempool.space/api/v1/fees/recommended')
.then(r => r.data.hourFee)
}
module.exports = { getEstimateFeeBtc }
module.exports = { getSatBEstimateFee }