resolve_price_event
Settlement verdict for a crypto price event. Answers 'did this asset trade or close above/below a threshold during a window?' with YES/NO/DISPUTED/UNRESOLVED, per-venue evidence from Hyperliquid, Coinbase and Kraken, and stated confidence. (Binance is configured but blocks this host's region; it is reported unavailable rather than silently counted.) Use mode='close' when a market settles on candle closes and mode='touch' when any intrabar print counts — they give different answers and that difference is the most common settlement dispute. Paid: $0.05 in USDC via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO-8601 window end. Defaults to now. | |
| from | No | ISO-8601 window start. Defaults to 24h before `to`. | |
| mode | No | touch = any intrabar print counts (default); close = only candle closes count | |
| asset | Yes | Asset symbol, e.g. BTC, ETH, SOL | |
| operator | Yes | Comparison against the threshold | |
| threshold | Yes | Price threshold in USD | |
| payment_header | No | X-PAYMENT header from a settled x402 payment. Omit on first call to receive payment requirements. |