chain_verify_6492
Universal smart-wallet signature verify (ERC-6492) — Verify signatures from smart wallets that are not deployed yet: ERC-6492 wrapped signatures (Coinbase Smart Wallet, Safe, other 4337 accounts) are checked by simulating the factory deploy and ERC-1271 isValidSignature in one eth_call via Multicall3; deployed wallets are unwrapped and checked with ERC-1271; plain signatures fall back to EOA ecrecover / ERC-1271. Used by x402, Sign-In with Ethereum and permit flows. Required: address, message (exact signed text, EIP-191) or hash (0x 32-byte digest), signature. Optional: chain (default base; smart-wallet signatures are chain-specific), encoding=hex. Base, ethereum, arbitrum, optimism, polygon. 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": {
"chain": "<chain>",
"address": "<address>",
"message": "<message>",
"signature": "<signature>"
},
"name": "chain_verify_6492"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | base | |
| address | Yes | 0x3316a4cfa9f7e1be7b843c490234f3afa22425d2 | |
| message | Yes | Hello from Polyform | |
| signature | Yes | 0x0000000000000000000000000ba5ed0c6aa8c49038f819e587e2633c4a9f428a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000c43ffba36f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000b0f7c9f7c5c6f4ead4544a3046256f0a9af05c930000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000041b0d1f315bfd0df3da096b5496e2f1b3e0da26cec6f088d4bbebc7e199bfb71ef36db1ddc1d53f363ab9b25ebb5243546631ef7f152056739f3491844009c05701b000000000000000000000000000000000000000000000000000000000000006492649264926492649264926492649264926492649264926492649264926492 |