signMessage
Signs a message using the user's wallet
Parameters:
message: string - the message to sign with the user's wallet
Returns:
object ({"signature": "..."}
) - the signature details
signature: string (
"..."
) - the signature of the message
Throws:
SOL Pay SDK Fatal Error: Invalid message ${message}.
- an invalid message was used
Last updated