EthSigUtil class

Constructors

EthSigUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

recoverPersonalSignature({required String signature, required Uint8List message}) String
Recover exactly sender address from personal signature and message
recoverSignature({required String signature, required Uint8List message}) String
Recover exactly sender address from signature and message
signMessage({String? privateKey, Uint8List? privateKeyInBytes, required Uint8List message}) String
Sign message
signPersonalMessage({String? privateKey, Uint8List? privateKeyInBytes, required Uint8List message}) String
Sign personal message, it's signMessage function but it's added prefix before
signPersonalTypedData({String? privateKey, Uint8List? privateKeyInBytes, required String jsonData, required TypedDataVersion version}) String
Sign typed data, support all versions, this is sign personal message
signTypedData({String? privateKey, Uint8List? privateKeyInBytes, required String jsonData, required TypedDataVersion version}) String
Sign typed data, support all versions