diff --git a/packages/widget-v2/src/pages/SwapPage/useSetMaxAmount.ts b/packages/widget-v2/src/pages/SwapPage/useSetMaxAmount.ts index 6473aecc..059ad2ad 100644 --- a/packages/widget-v2/src/pages/SwapPage/useSetMaxAmount.ts +++ b/packages/widget-v2/src/pages/SwapPage/useSetMaxAmount.ts @@ -27,7 +27,7 @@ export const useGasFeeTokenAmount = () => { switch (chainType) { case "evm": - return Number(convertHumanReadableAmountToCryptoAmount(ETH_GAS_FEE)); + return Number(convertHumanReadableAmountToCryptoAmount(ETH_GAS_FEE, sourceDetails.asset?.decimals)); case "cosmos": if (!feeAsset?.gasPrice?.average || feeAsset.denom !== sourceAsset?.denom) return 0; return Number(feeAsset.gasPrice.average) * (COSMOS_GAS_FEE);