hash_typed_data
Hash EIP-712 typed structured data to produce a standardized digest for secure verification and signing in EVM transactions.
Instructions
Hash typed structured data according to 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>"
},
"name": "hash_typed_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | Yes | Type definitions | |
| domain | Yes | EIP-712 domain separator | |
| message | Yes | Message data to hash | |
| primaryType | Yes | Primary type name |