RawEVMTransactionType0.unsigned constructor

RawEVMTransactionType0.unsigned({
  1. required BigInt nonce,
  2. required BigInt gasLimit,
  3. required String to,
  4. required BigInt value,
  5. required Uint8List data,
  6. required BigInt gasPrice,
  7. int? chainId,
})

Implementation

RawEVMTransactionType0.unsigned({
  required super.nonce,
  required super.gasLimit,
  required super.to,
  required super.value,
  required super.data,
  required this.gasPrice,
  int? chainId,
})  : r = BigInt.zero,
      s = BigInt.zero,
      v = chainId != null ? chainId * 2 + 35 : 27;