Function Signature
Description
Signs a message using the specified SVM wallet address. This function requires a valid session ID for authentication and returns a serialized signature.Parameters
Required Parameters
message(string) - The message to signaccountAddress(string) - The wallet address to sign with
Returns
Promise<string>- The serialized signature
Example
Error Handling
Security Considerations
- Message Validation: Always validate message content before signing
 - Session Management: Implement proper session management
 - Authentication: Ensure proper authentication before signing
 
Related Functions
signTransaction()- Sign a transaction instead of a message