Skip to main content

TypeAlias.EvmFeeDetails

type EvmFeeDetails = {
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
};

EIP‑1559 fee parameters for EVM transactions. Used by EVM account transfer methods to override gas pricing when needed.

Example

const fees: EvmFeeDetails = { maxFeePerGas: 30n * 10n ** 9n, maxPriorityFeePerGas: 2n * 10n ** 9n };

Properties

PropertyTypeDescription
maxFeePerGasbigintThe maximum fee per unit of gas.
maxPriorityFeePerGasbigintThe maximum priority fee per unit of gas.