Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Sign a message with the wallet’s identity key.
async signMessageWithIdentityKey( message: string, compact?: boolean ): Promise<string>
false
const signature = await wallet.signMessageWithIdentityKey("Hello, Spark!"); console.log("Signature:", signature); // Compact encoding const compactSig = await wallet.signMessageWithIdentityKey("Hello", true);