sign method

RawEVMTransactionType2 sign({
  1. required Uint8List privateKey,
})

Implementation

RawEVMTransactionType2 sign({
  required Uint8List privateKey,
}) {
  final signature = Signature.createSignature(
    serializedUnsigned,
    privateKey,
    txType: TransactionType.Type2,
  );

  return addSignature(signature);
}