Skip to content

Commit

Permalink
fix: add fee details to limits response (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
dohaki authored Sep 9, 2024
1 parent 4d466ca commit fdd9080
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/limits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,14 @@ const handler = async (
maxDepositInstant: bufferedMaxDepositInstant.toString(),
maxDepositShortDelay: bufferedMaxDepositShortDelay.toString(),
recommendedDepositInstant: bufferedRecommendedDepositInstant.toString(),
relayerFeeDetails: {
relayFeeTotal: relayerFeeDetails.relayFeeTotal,
relayFeePercent: relayerFeeDetails.relayFeePercent,
gasFeeTotal: relayerFeeDetails.gasFeeTotal,
gasFeePercent: relayerFeeDetails.gasFeePercent,
capitalFeeTotal: relayerFeeDetails.capitalFeeTotal,
capitalFeePercent: relayerFeeDetails.capitalFeePercent,
},
};
logger.debug({
at: "Limits",
Expand Down

0 comments on commit fdd9080

Please sign in to comment.