x402 preflight: check an endpoint, its payTo wallet and the domain declaration before paying
preflightRight before paying an x402 URL: decodes its 402 terms, checks the payTo wallet and whether the domain declares it. Never pays. Price: $0.003 USDC per call (x402, Base).
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": {
"url": "<url>"
},
"name": "preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | x402 endpoint URL (https) |