Skip to content

Commit

Permalink
Update gas-prices.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai committed Jan 4, 2025
1 parent 5fb79b9 commit 6948d14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/gas-prices.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { VercelResponse } from "@vercel/node";
import {
buildDepositForSimulation,
getGasMarkup,
getLogger,
getMaxFeePerGas,
getRelayerFeeCalculatorQueries,
Expand Down Expand Up @@ -57,6 +58,9 @@ const handler = async (
chainId,
{
gasPrice: gasPrices[i].toString(),
baseFeeMultiplier: getGasMarkup(chainId).div(
sdk.utils.fixedPointAdjustment
),
nativeGasCost: gasCosts[i].nativeGasCost.toString(),
tokenGasCost: gasCosts[i].tokenGasCost.toString(),
},
Expand Down

0 comments on commit 6948d14

Please sign in to comment.