MiniKit.signMessage() to request a personal signature from the user’s wallet.
Basic Usage
Result
Fallback Behavior
Define a custom fallback in the command payload for support outside mini apps.Notes
Verify signatures in a trusted environment before using them for sensitive application logic.Error Codes
| Code | Meaning |
|---|---|
invalid_message | The message payload is invalid |
user_rejected | The user rejected the request |
generic_error | Unexpected failure |