sender property
override
Implementation
String get sender {
if (hasSignature == false) {
throw Exception("Transaction is not signed, cannot recover sender");
}
final signature = Signature.fromRSV(r, s, v.toInt());
final publicKey = recoverPublicKey(signingTxHash, signature);
final addressBytes = publicKeyToAddress(publicKey);
final address = addressBytes.toHex;
return "0x$address";
}