fix: fee unit and batch fees
This commit is contained in:
parent
575dbeabe5
commit
d3533c44f0
2 changed files with 13 additions and 12 deletions
|
|
@ -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 }
|
||||
Loading…
Add table
Add a link
Reference in a new issue