sign method

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

Implementation

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

  return addSignature(signature);
}