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 9, 2025
1 parent 742e259 commit 158eb59
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion api/gas-prices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,17 @@ const handler = async (
);
};
const responseJson = {
tokenSymbol,
"0-reference": {
tokenSymbol,
gasPrice:
"maxFeePerGas * baseFeeMultiplier + priorityFee * priorityFeeMultiplier",
maxFeePerGas: "estimated maximum base fee",
maxPriorityFeePerGas: "estimated maximum tip",
opStackL1GasCostMultiplier:
"L1 data fee added to all OPStack transactions",
originChainFeeMarkups:
"Additional multiplier applied to base fee and/or priority fee for certain originChain-destChain routes. NOT applied in this calculation.",
},
...Object.fromEntries(
Object.keys(chainIdsWithToken).map((chainId, i) => [
chainId,
Expand Down

0 comments on commit 158eb59

Please sign in to comment.