signature_recover
Verify signature and signature recovery API: recover the signer address of an Ethereum signature - personal_sign / EIP-191 messages, EIP-712 typed data (Permit, Permit2, orders) or a raw hash - and check it matches the expected address. Pure compute. ecrecover. Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC via x402.
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": {
"signature": "<signature>"
},
"name": "signature_recover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | raw 32-byte digest | |
| message | No | personal_sign message (utf8, or 0x hex) | |
| expected | No | address to compare | |
| signature | Yes | 0x 65-byte or 64-byte EIP-2098 signature | |
| typed_data | No | EIP-712 JSON {types, primaryType, domain, message} |