verifyZkLoginSignature
Verify a zkLogin signature is from the given author.
Returns successfully if the signature is valid. If the signature is invalid, returns an error with the reason for the failure.
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
Arguments
verifyZkLoginSignature.bytes ● Base64! non-null scalar
verifyZkLoginSignature.signature ● Base64! non-null scalar
verifyZkLoginSignature.intentScope ● ZkLoginIntentScope! non-null enum
verifyZkLoginSignature.author ● SuiAddress! non-null scalar
Type
ZkLoginVerifyResult object
The result of the zkLogin signature verification.