sign_typed_data
Sign EIP-712 typed data for EVM-based transactions. Provide domain, types, message, and private key to generate a cryptographic signature for smart contract interactions.
Instructions
Sign typed data using EIP-712
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"types": "<types>",
"primaryType": "<primaryType>",
"message": "<message>",
"privateKey": "<privateKey>"
},
"name": "sign_typed_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | Yes | Type definitions | |
| domain | Yes | EIP-712 domain | |
| message | Yes | Message to sign | |
| privateKey | Yes | Private key in hex format (with or without 0x prefix). SECURITY: This is used only for address derivation and is not stored. The private key will not be logged or displayed in chat history. | |
| primaryType | Yes | Primary type name |