Overview
Magic offers out-of-the-box Signature Request UI when the user is prompted to sign a personal or typed message for the following EVM RPC methods:-
personal_sign
signTypedData_v3
signTypedData_v4

Compatibility
- Personal Signature UI is disabled by default and can be enabled within the developer dashboard in Customization -> Widget UI. Magic also offers Sign Confirmation, a feature that secures users from front-end attacks, by prompting them to confirm the transaction in a Magic-hosted tab after clicking “Send”.
Use Cases
- Prove verifiable ownership of a public address through signing arbitrary data provided by the dApp
- Used in various scenarios where a user needs to sign a structured message as proof of their approval
Usage
Once you have verified the correct setup of the Magic SDK and successfully authenticated the user, you can request consent to collect their information:JavaScript