"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSVMGasPrice = exports.isEVMGasPrice = void 0;
var utils_1 = require("../utils");
function isEVMGasPrice(gasPrice) {
    var _a = gasPrice, maxFeePerGas = _a.maxFeePerGas, maxPriorityFeePerGas = _a.maxPriorityFeePerGas;
    return (0, utils_1.isDefined)(maxFeePerGas) && (0, utils_1.isDefined)(maxPriorityFeePerGas);
}
exports.isEVMGasPrice = isEVMGasPrice;
function isSVMGasPrice(gasPrice) {
    var _a = gasPrice, baseFee = _a.baseFee, microLamportsPerComputeUnit = _a.microLamportsPerComputeUnit;
    return (0, utils_1.isDefined)(baseFee) && (0, utils_1.isDefined)(microLamportsPerComputeUnit);
}
exports.isSVMGasPrice = isSVMGasPrice;
//# sourceMappingURL=types.js.map