Quote a Base tx preflight
preflight_quoteFree: price, payTo and the exact x402 request to buy a Base transaction preflight (simulation with decoded revert, gas limit, full fee in ETH/USD).
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": {
"to": "<to>"
},
"name": "preflight_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| data | No | ||
| from | No | ||
| value | No |