"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ethers_1 = require("ethers");
var commons_1 = require("@universal-login/commons");
var formatCurrency_1 = require("./formatCurrency");
exports.calculateTransactionFee = function (gasPrice, gasLimit) {
    return formatCurrency_1.formatCurrency(commons_1.safeMultiply(ethers_1.utils.parseEther(gasPrice.toString()), gasLimit));
};
//# sourceMappingURL=calculateTransactionFee.js.map