verifySignatureAsync method
Verify the given message and signature with the public key. It fetches any on-chain state if needed for verification.
Implementation
// TODO: type [aptosConfig] as AptosConfig once the api module is available.
Future<bool> verifySignatureAsync({
Object? aptosConfig,
required HexInput message,
required Signature signature,
Object? options,
}) async {
return publicKey.verifySignatureAsync(
aptosConfig: aptosConfig,
message: message,
signature: signature,
options: options,
);
}