verifyPersonalMessage method

bool verifyPersonalMessage(
  1. Uint8List message,
  2. String signature
)

Verifies that the signature is valid for for the provided PersonalMessage

Implementation

bool verifyPersonalMessage(
		Uint8List message,
		String signature
	)  {
		return verifyWithIntent(
    Bcs.vector(Bcs.u8()).serialize(message).toBytes(),
			signature,
			IntentScope.personalMessage,
		);
	}