diff --git a/src/custom.d.ts b/src/custom.d.ts index 44c8875..4e475fb 100644 --- a/src/custom.d.ts +++ b/src/custom.d.ts @@ -4,6 +4,7 @@ type MempoolFeeEstimates = { halfHourFee: number; hourFee: number; economyFee: number; + minimumFee: number; }; type EsploraFeeEstimates = { diff --git a/src/server.tsx b/src/server.tsx index 4f258bd..0124e4e 100644 --- a/src/server.tsx +++ b/src/server.tsx @@ -158,7 +158,7 @@ function assignResults(results: PromiseSettledResult[]) { */ function calculateFees(mempoolFeeEstimates: MempoolFeeEstimates | null | undefined, esploraFeeEstimates: EsploraFeeEstimates | null | undefined) { let feeByBlockTarget: FeeByBlockTarget = {}; - const minFee = mempoolFeeEstimates?.economyFee; + const minFee = mempoolFeeEstimates?.minimumFee; if (mempoolFeeEstimates) { const blockTargetMapping: BlockTargetMapping = {