setGasLimit method

void setGasLimit(
  1. BigInt gasLimit
)

Sets the gas limit for the Ethereum transaction.

Throws a MessageException if the provided gas limit is null.

Implementation

void setGasLimit(BigInt gasLimit) {
  _gasLimit = gasLimit;
  _replaceTr();
}