"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.eip1559 = eip1559;
const tslib_1 = require("tslib");
const utils_1 = require("../../utils");
const ethereum = tslib_1.__importStar(require("./ethereum"));
async function eip1559(provider, opts) {
    const { maxFeePerGas: _maxFeePerGas, maxPriorityFeePerGas } = await ethereum.eip1559(provider, opts);
    const maxFeePerGas = _maxFeePerGas.sub(maxPriorityFeePerGas).add(utils_1.bnOne);
    return { maxPriorityFeePerGas: utils_1.bnOne, maxFeePerGas };
}
//# sourceMappingURL=arbitrum.js.map