Verify wallet signature
util_verify_signatureUse when an agent must decide whether whoever is talking to it really controls a wallet: it recovers the address that signed a personal_sign (EIP-191) message and says whether it matches the one you expected. This is the check that turns a claimed address into a proven one. Do not use for EIP-712 typed data or for a contract signature (ERC-1271): this route verifies personal_sign. $0.005 per call, paid over x402 (USDC).
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": {
"message": "<message>",
"signature": "<signature>"
},
"name": "util_verify_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The exact message that was signed. | |
| expected | No | Optional address to compare the recovered signer against. | |
| signature | Yes | 65-byte 0x signature from personal_sign. |