check_resolution_risk
Pre-trade safety check for cross-venue event markets (crypto oracle-divergence pairs, metered; World Cup football, free). Flags resolution mismatches, void-rule divergence, scope differences (e.g. 90-minute vs extra-time; matched vs differing strike), settlement-source and -timing gaps, stale data, and thin liquidity between the two Polymarket and Kalshi legs BEFORE you execute both. Returns a machine-readable verdict — execution_verdict: safe / caution / block — inside a full Fungibility & Settlement Audit Object (FSAO) with structured findings, top-level divergence flags, venue rule overrides, fee-adjusted spread, and verdict reasons. Identify the pair by EITHER canonical_event_id (a live pair id from list_covered_events — the metered 'crypto:' inventory rolls daily, so fetch a current id there rather than reusing an old one; the free 'wc26:' World Cup pairs are stable) OR market_a + market_b (one Polymarket conditionId + one Kalshi ticker, order-insensitive). If the pair is not covered, returns a non-error coverage reply (covered: false) naming the covered inventories (free World Cup football + metered crypto pairs) and the coverage cutoff instead of an FSAO.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'advisory' (default) or 'strict'. | advisory |
| api_key | No | Crosswire API key (cw_…). Optional. Free for the World Cup graph and the first calls/day on metered crypto pairs; beyond that, metered crypto calls draw down this key's prepaid USDC balance (top up via the x402 /v1/credits/topup endpoint). | |
| market_a | No | First leg of the pair to audit (either venue; order does not matter). Provide market_a AND market_b together, or use canonical_event_id instead. | |
| market_b | No | Second leg of the pair to audit (the other venue). | |
| notional_usd | No | Intended position size in USD. Optional; sizes the thin-liquidity check against live top-of-book depth. | |
| canonical_event_id | No | A covered pair id — the outcome-suffixed canonical id. Two namespaces: the metered crypto oracle-divergence inventory (shape 'crypto:btc-above:<date>:strike-<n>#above' — $0.02 USDC per call after 3 free calls/day; the daily pair rolls, so fetch a current id from list_covered_events rather than reusing an old one) and the free World Cup football pairs (shape 'wc26:match:<TEAMS>:<date>:result#home|#draw|#away'; the suffix selects the outcome leg-pair). A bare event id without the suffix is ambiguous and only accepted when market_a + market_b are also given to select the leg. Always get live pair ids from list_covered_events. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||