maxPriorityFeePerGas property

BigInt? maxPriorityFeePerGas

The price (in wei) per unit of gas this transaction will pay for the EIP-1559 priority fee. This is included in the maxFeePerGas, so this will not affect the total maximum cost set with maxFeePerGas.

Most developers should leave this unspecified and use the default value that ethers determines from the network.

This may not be specified for transactions with type set to 0 or if gasPrice is specified.

Implementation

BigInt? get maxPriorityFeePerGas => impl.maxPriorityFeePerGas?.toBigInt;