PersonalSign constructor

PersonalSign({
  1. required String address,
  2. required String message,
  3. bool? optional = false,
})

Implementation

PersonalSign({
  required String address,
  required String message,
  super.optional,
}) : super(
        method: 'personal_sign',
        paramsJson: jsonEncode({
          'address': address,
          'message': message,
        }),
      );