chain_verify_signature
Verify an Ethereum signature (EOA + ERC-1271) — Check that a personal_sign / signMessage (EIP-191) signature was made by an address: offline secp256k1 ecrecover, EIP-2098 compact and high-s detection, and ERC-1271 isValidSignature fallback for smart-contract wallets (Safe, Coinbase Smart Wallet) on base, ethereum, arbitrum, optimism or polygon. Required: address, message (exact signed text), signature. Optional: chain (default base, used for ERC-1271), hash (raw 32-byte digest instead of message), encoding=hex (message is 0x bytes). Price: $0.003 USDC (Base, 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": {
"address": "<address>",
"message": "<message>",
"signature": "<signature>"
},
"name": "chain_verify_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 | |
| message | Yes | Hello from Polyform | |
| signature | Yes | 0xff8816dd785456da8b539cf3e0e0ad8175a19fbba29a777e68b951a3b854b43813daf2deb754ab482261466076afe594c93f4f0a701fc94a1b08ccb45d791fbc1c |