sign_message
Sign a raw message or EIP-712 typed data using a wallet. Returns the cryptographic signature.
Instructions
Sign a message (personal_sign) or EIP-712 typed data (signTypedData). Returns the signature. EIP-712 is EVM-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Message to sign (hex 0x-prefixed or UTF-8 string). Required for sign_type "personal". | |
| sign_type | No | Sign type: "personal" (default) for raw message, "typedData" for EIP-712. | |
| typed_data | No | EIP-712 typed data structure. Required when sign_type is "typedData". | |
| network | No | Target network (optional). | |
| wallet_id | No | Target wallet ID. Required for multi-wallet sessions. |