Pre-flight safety check
preflightCheck if a x402 URL is safe to pay before processing payment. Returns ok status and warnings to avoid decoys, zombies, and dead endpoints.
Instructions
Ask x402station whether a given x402 URL is safe to pay. Returns {ok, warnings[], metadata}. Costs $0.001 USDC (auto-signed with AGENT_PRIVATE_KEY). Call this BEFORE any other paid x402 request to avoid decoys (price ≥ $1k), zombie services, and dead endpoints. ok:true only when no critical warning fires.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL of the x402 endpoint the agent is about to pay. |