import { utils } from 'ethers';
import { safeMultiply } from '@universal-login/commons';
import { formatCurrency } from './formatCurrency';
export var calculateTransactionFee = function (gasPrice, gasLimit) {
    return formatCurrency(safeMultiply(utils.parseEther(gasPrice.toString()), gasLimit));
};
//# sourceMappingURL=calculateTransactionFee.js.map