verifyZkLoginSignature
Verify a zkLogin signature os from the given author.
Returns a ZkLoginVerifyResult where success is true and error is empty if the signature is valid. If the signature is invalid, success is false and error contains the relevant error message.
bytesare either the bytes of a serialized personal message, orTransactionData, Base64-encoded.signatureis a serialized zkLogin signature, also Base64-encoded.intentScopeindicates whetherbytesare to be parsed as a personal message orTransactionData.authoris the signer's address.
verifyZkLoginSignature(
bytes: Base64!
signature: Base64!
intentScope: ZkLoginIntentScope!
author: SuiAddress!
): ZkLoginVerifyResult!