verify_offer
Verify an x402 signed offer (EIP-712 or JWS): signature, expiry, match to accepts[], and signer-authorization evidence (payTo, did:web, DNS _controllers, ERC-8004). Free.
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": {
"offer": "<offer>"
},
"name": "verify_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer | Yes | The offer object: {format, payload?, signature, acceptIndex?} | |
| accepts | No | Optional accepts[] from the live 402 to match against | |
| resource_url | No | ||
| trusted_pay_to | No |