verifySignature
Verify a signature is from the given author.
Supports all signature types: Ed25519, Secp256k1, Secp256r1, MultiSig, ZkLogin, and Passkey.
Returns successfully if the signature is valid. If the signature is invalid, returns an error with the reason for the failure.
messageis either a serialized personal message orTransactionData, Base64-encoded.signatureis a serialized signature, also Base64-encoded.intentScopeindicates whethermessageis to be parsed as a personal message orTransactionData.authoris the signer's address.
verifySignature(
message: Base64!
signature: Base64!
intentScope: IntentScope!
author: SuiAddress!
): SignatureVerifyResult
Arguments
verifySignature.message ● Base64! non-null scalar
verifySignature.signature ● Base64! non-null scalar
verifySignature.intentScope ● IntentScope! non-null enum
verifySignature.author ● SuiAddress! non-null scalar
Type
SignatureVerifyResult object
The result of signature verification.