Evm Eip1559Fee
Represents an EIP-1559 fee structure for EVM chains.
In the EIP-1559 model:
baseFeePerGas: Set by the protocol, burned (not paid to validators)
maxPriorityFeePerGas: Tip to validators to prioritize the transaction
maxFeePerGas: Maximum total fee willing to pay (base + priority)
Actual fee = min(maxFeePerGas, baseFeePerGas + maxPriorityFeePerGas) * gasUsed
See also
Constructors
Properties
The current base fee from the latest block (informational)
The maximum amount of gas units this transaction can consume
L1 data fee in wei on L2s (e.g. Base); null on L1. Included in maxFeeWei.
The maximum total fee per gas unit willing to pay (L2 only)
Maximum total fee in the network's smallest unit (e.g. wei). Includes L2 execution cost and, on L2s (e.g. Base), l1FeeWei when set. Serialized so Flutter can use it without duplicating logic; use for total cost and reserving balance.
The tip per gas unit in wei (goes to validator)