resolve_price_event
Settle crypto price events by verifying if the asset traded or closed above/below a threshold during a chosen window. Returns YES/NO/DISPUTED/UNRESOLVED with evidence and confidence.
Instructions
PAID — $0.05 USDC. Settlement verdict for a crypto price event: did the asset trade or close above/below a threshold during a window? Returns YES / NO / DISPUTED / UNRESOLVED with per-venue evidence and stated confidence. Choose mode carefully — 'close' counts only candle closes, 'touch' counts any intrabar print including wicks. They routinely give different answers, and that difference is the single most common cause of a disputed settlement. When venues disagree the result is DISPUTED at low confidence rather than a confident guess. Pays automatically from the configured wallet.
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 |