import { isDefined } from "../utils";
export function isEVMGasPrice(gasPrice) {
    var _a = gasPrice, maxFeePerGas = _a.maxFeePerGas, maxPriorityFeePerGas = _a.maxPriorityFeePerGas;
    return isDefined(maxFeePerGas) && isDefined(maxPriorityFeePerGas);
}
export function isSVMGasPrice(gasPrice) {
    var _a = gasPrice, baseFee = _a.baseFee, microLamportsPerComputeUnit = _a.microLamportsPerComputeUnit;
    return isDefined(baseFee) && isDefined(microLamportsPerComputeUnit);
}
//# sourceMappingURL=types.js.map