gasPrice property

BigInt? gasPrice

The price (in wei) per unit of gas this transaction will pay.

This may not be specified for transactions with type set to 1 or 2, or if maxFeePerGas or maxPriorityFeePerGas is given.

Implementation

BigInt? get gasPrice => impl.gasLimit?.toBigInt;