personalSign method
Signs method calculates an Ethereum specific signature.
address
- 20B address
message
- message to sign
password
- The password of the account to sign data with
Returns signature.
Implementation
Future<String> personalSign({
required String message,
required String address,
required String password,
}) async {
final result = await connector.sendCustomRequest(
method: 'personal_sign',
params: [address, message, password],
);
return result;
}