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