Skip to content

Documentation / expo / useSignMessage

Function: useSignMessage()

useSignMessage(): UseSignMessageInterface

Use this hook to sign a message using the embedded wallet, using the default UI powered by PrivyElements.

Returns

UseSignMessageInterface

signMessage - prompts the user to sign a message with their embedded wallet, returning a Promise of the resulting signature.