TransactionOverride constructor

TransactionOverride({
  1. BigInt? gasLimit,
  2. BigInt? gasPrice,
  3. BigInt? value,
  4. BigInt? maxFeePerGas,
  5. BigInt? maxPriorityFeePerGas,
  6. int? nonce,
})

Implementation

factory TransactionOverride({
  BigInt? gasLimit,
  BigInt? gasPrice,
  BigInt? value,
  BigInt? maxFeePerGas,
  BigInt? maxPriorityFeePerGas,
  int? nonce,
}) {
  return TransactionOverride._(
    _TransactionOverrideImpl(
      value: value?.toBigNumber,
      nonce: nonce,
      gasLimit: gasLimit?.toBigNumber,
      gasPrice: gasPrice?.toBigNumber,
      maxFeePerGas: maxFeePerGas?.toBigNumber,
      maxPriorityFeePerGas: maxPriorityFeePerGas?.toBigNumber,
    ),
  );
}