maxGas property

BigInt? maxGas
final

The maximum amount of gas to spend.

If maxGas is null, this library will ask the rpc node to estimate a reasonable spending via Web3Client.estimateGas.

Gas that is not used but included in maxGas will be returned.

Implementation

final BigInt? maxGas;