MiniKit.signTypedData() to request an EIP-712 signature from the user’s wallet.
Availability
- Works natively in World App
- Can execute outside World App through Wagmi or a custom fallback when configured
Basic Usage
Result
Fallback Behavior
executedWith: "wagmi"means the web signer handled the requestexecutedWith: "fallback"means your custom fallback handled the request
Error Codes
| Code | Meaning |
|---|---|
invalid_operation | The request contains an invalid operation |
user_rejected | The user rejected the request |
input_error | The payload is invalid |
simulation_failed | Simulation failed before signing |
generic_error | Unexpected failure |
disallowed_operation | The operation is not allowed |
invalid_contract | The contract or domain is invalid |
malicious_operation | The request was flagged as malicious |