Skip to content

Commit

Permalink
adjust sepolia fee
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Nov 15, 2024
1 parent 70566ad commit d330669
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/networkFeesService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ async function obtainSepoliaFees() {
priorityFee = 1250000000;
}
const baseFee = +(
Math.floor(parseInt(resA.data.result, 16) * 1.2) / 1e9
Math.floor(parseInt(resA.data.result, 16) * 1.25) / 1e9
).toFixed(9);
const economyFee = +(Math.floor(priorityFee * 1) / 1e9).toFixed(9);
const normalFee = +(Math.floor(priorityFee * 1.1) / 1e9).toFixed(9);
const fastFee = +(Math.floor(priorityFee * 1.2) / 1e9).toFixed(9);
const normalFee = +(Math.floor(priorityFee * 1.15) / 1e9).toFixed(9);
const fastFee = +(Math.floor(priorityFee * 1.3) / 1e9).toFixed(9);

const feesObject = {
coin: 'sepolia',
Expand Down

0 comments on commit d330669

Please sign in to comment.