Evm Verify Signature
evm_verify_signatureVerify an Ethereum signature offline: recovers the signer address (secp256k1 ecrecover) from an EIP-191 personal_sign message (UTF-8 or hex) or a raw 32-byte digest (e.g. an EIP-712 hash), compares it with an expected address, flags malleable high-s signatures, accepts 65-byte r,s,v and 64-byte EIP-2098 compact signatures, and parses Sign-In with Ethereum (EIP-4361) messages (domain, nonce, chain, expiry). For smart-contract wallets (EIP-1271) recovery does not apply. Price: $0.003 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/evm-verify-signature
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": "evm_verify_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | Raw 32-byte digest that was signed (no prefix added), e.g. an EIP-712 digest | |
| address | No | Expected signer, to get match true/false | |
| message | No | Signed message for personal_sign (EIP-191); give message or hash | |
| signature | Yes | 0x signature: 65 bytes r,s,v or 64 bytes EIP-2098 | |
| messageEncoding | No | How to read message: UTF-8 text or 0x-hex bytes | utf8 |