EIP-712 hash / verify
eip712_hashHash EIP-712 typed data to produce digest, domain separator, and struct hash; recover a signer from a signature and verify ERC-1271 signatures on smart accounts.
Instructions
Hash EIP-712 typed data (digest, domain separator, struct hash) and, if a signature is given, recover the signer; optionally check ERC-1271 isValidSignature on a smart account.
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": {
"typedData": "<typedData>"
},
"name": "eip712_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| erc1271 | No | ||
| signature | No | ||
| typedData | Yes |