Represents the full deposit fee containing fees for both L1 and L2 transactions.

interface FullDepositFee {
    baseCost: bigint;
    gasPrice?: bigint;
    l1GasLimit: bigint;
    l2GasLimit: bigint;
    maxFeePerGas?: bigint;
    maxPriorityFeePerGas?: bigint;
}

Properties

baseCost: bigint

The base cost of the deposit transaction on L2.

gasPrice?: bigint

The gas price for L2 transaction.

l1GasLimit: bigint

The gas limit for L1 transaction.

l2GasLimit: bigint

The gas limit for L2 transaction.

maxFeePerGas?: bigint

The maximum fee per gas for L1 transaction.

maxPriorityFeePerGas?: bigint

The maximum priority fee per gas for L1 transaction.