x420_verify_signature
Verify EIP-191 personal_sign signatures against Ethereum addresses or ed25519 signatures over canonical JSON against X420 agent public keys, returning validity and recovery details without network access.
Instructions
Signature verifier: Checks an EIP-191 personal_sign signature against an Ethereum address (pure recovery, EOAs only), or an ed25519 signature over canonical JSON against an X420 agent public key. No network. Not professional, legal, insurance, engineering, medical, financial or tax advice. PAID: $0.02 USDC per call, settled on Base via x402 from the wallet in X420_MCP_WALLET_PRIVATE_KEY (real money). Returns: JSON: scheme, valid, recovered/public_key, reason, message_sha256 - the deliverable plus X420's signed receipt and the settlement transaction. Example input: {"scheme":"eip191","message":"x420 quote q_8f3a nonce 7c1d","address":"0xa1B2c3d4E5f60718293a4B5C6d7E8F9012345678","signature":"0x5d1b…(130 hex)…1c"}.
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": "x420_verify_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | No | eip191 (default) or ed25519 | |
| address | No | expected 0x signer for eip191 (default: none) | |
| message | No | signed text for eip191 (default: none) | |
| payload | No | signed payload (JSON text or plain string) for ed25519 (default: none) | |
| signature | Yes | signature hex | |
| public_key | No | ed25519 SPKI DER hex (88 chars) for ed25519 (default: none) |