Eip712 Hash
eip712_hashEIP-712 typed-data hashing and signature check: returns encodeType, typeHash, domain separator, struct hash and the final digest a wallet signs (eth_signTypedData_v4), and with a signature recovers the signer and compares it to an expected address. Summarises common payloads (ERC-2612 Permit, EIP-3009 TransferWithAuthorization used by x402 EVM payments, Permit2) so an agent can see what it is about to sign. POST JSON body. Price: $0.003 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/eip712-hash
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 |
|---|---|---|---|
| address | No | Optional expected signer | |
| signature | No | Optional 65-byte or 64-byte signature to recover the signer | |
| typedData | Yes | The eth_signTypedData_v4 payload: {types, primaryType, domain, message} (EIP712Domain type optional, inferred from domain keys) |