跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.qu.ai/llms.txt

Use this file to discover all available pages before exploring further.

注意: 此页面尚未翻译成中文。以下内容为英文原版。
function verifyMessage(message, sig): string
Return the address of the private key that produced the signature sig during signing for message.

Parameters

ParameterTypeDescription
messagestring | Uint8ArrayThe message that was signed.
sigSignatureLikeThe signature to verify.

Returns

string The address of the signer.

Source

hash/message.ts:54