Verify an exact EVM payment signature
verify_payment_signatureOffline cryptographic check of an x402 'exact' EVM payment authorization (EIP-3009 TransferWithAuthorization, EIP-712). Rebuilds the EIP-712 domain from the requirement (extra.name, extra.version, asset, chain id from the eip155 network), recovers the signer and checks it equals authorization.from, that the transfer is bound to the requirement's payTo, amount and asset, and that the time is inside validAfter/validBefore. It does NOT check on-chain balances, nonce reuse/replay or settlement, and needs no RPC.
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": {
"requirement": "<requirement>",
"payload": "<payload>"
},
"name": "verify_payment_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | Time to check the authorization window against, as an ISO 8601 string or Unix seconds. Defaults to the current time. | |
| payload | Yes | The payment payload { signature, authorization }, a full PaymentPayload object, or the raw Base64 PAYMENT-SIGNATURE header value. | |
| requirement | Yes | The payment requirement (one accepts entry) the payment was made for: scheme, network (eip155:<chainId>), amount, asset, payTo, maxTimeoutSeconds, extra { name, version }. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | ||
| scheme | Yes | ||
| reasons | Yes | ||
| verified | Yes | ||
| checkedAt | Yes | ||
| recovered | No | ||
| amountBound | No | ||
| recipientBound | No | ||
| signatureValid | Yes |