useSignTypedData

Hook to sign typed data.

This hook signs a JSON object for off-chain use with the current wallet private key.

Examples

This example shows how to sign some data. The message must follow EIP712 (https://www.starknetjs.com/docs/guides/signature).