signMessage method

  1. @override
Future<String> signMessage(
  1. String method,
  2. String from,
  3. dynamic message,
  4. String password,
)
override

Sign a message for method (personal_sign, eth_sign, eth_signTypedData*). Called after dialog confirmation.

method is the JSON-RPC method, from is the claimed signer address, message is the raw payload (hex string or typed data), password is optional for personal_sign.

Implementation

@override
Future<String> signMessage(
  String method,
  String from,
  dynamic message,
  String password,
) {
  return _signingHandler.signMessage(method, from, message, password);
}