Skip to content

Commit

Permalink
fix: add total gas fee in native token
Browse files Browse the repository at this point in the history
  • Loading branch information
aramalipoor committed Dec 28, 2022
1 parent ff33537 commit f373256
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/balance-ramp/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,11 @@ export type BalanceRampRequestAmounts = {
amountToPayForInCurrency: number;
platformFeeInOutputTokenBN: BigNumberish;
platformFeeInCurrency: number;
estimatedGasLimitBN: BigNumberish;
gasUnitPriceInNativeBN: BigNumberish;
totalGasFeeInNativeBN: BigNumberish;
totalGasFeeInOutputTokenBN: BigNumberish;
totalGasFeeInCurrency: number;
gasUnitPriceInNativeBN: BigNumberish;
estimatedGasLimitBN: BigNumberish;
};

export type BalanceRampRequestConfig = {
Expand All @@ -121,6 +122,7 @@ export type BalanceRampRequestConfig = {
canSponsorTransaction: boolean;
canSettleTransaction: boolean;
paymentRailsSupportedForChainAndToken: boolean;
trustedForwarderConfigured: boolean;
onRamperEnabled: boolean;
onRamperWalletPrefix: string;
rampNetworkSwapAsset: string;
Expand Down

0 comments on commit f373256

Please sign in to comment.