@ledgerhq/coin-tron
Version:
Ledger Tron Coin integration
13 lines • 462 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.estimateFees = estimateFees;
const constants_1 = require("./constants");
async function estimateFees(transactionIntent) {
if (transactionIntent.asset.type === "trc20") {
return BigInt(constants_1.ACTIVATION_FEES_TRC_20.toString());
}
else {
return BigInt(constants_1.STANDARD_FEES_NATIVE.toString());
}
}
//# sourceMappingURL=estimateFees.js.map