Query editor
-- Recent Resolutions (Resolution Oracle, BSC)-- Source: https://interface.cournot.ai/cournot/dune/recent_resolved_markets (LiveFetch)-- Uses the API's bsc_proof_txn field directly as the BSC proof transaction.-- verdict = resolved outcome, confidence_tier = confidence tier assigned by the Cournot Intelligence Oracle.WITH api AS (SELECT json_parse(http_get('https://interface.cournot.ai/cournot/dune/recent_resolved_markets')) AS body),items AS (SELECT itemFROM apiCROSS JOIN UNNEST(CAST(json_extract(body, '$.data.items') AS array(json))) AS t(item)),parsed AS (SELECT from_iso8601_timestamp(json_extract_scalar(item, '$.close_time')) AS resolved_at,CAST(from_iso8601_timestamp(json_extract_scalar(item, '$.close_time')) AS date) AS resolved_day,json_extract_scalar(item, '$.title') AS market_name,json_extract_scalar(item, '$.category') AS category,json_extract_scalar(item, '$.ai_outcome') AS verdict,json_extract_scalar(item, '$.confidence_tier') AS confidence_tier,json_extract_scalar(item, '$.bsc_proof_txn') AS bsc_txFROM items)SELECT resolved_at,market_name,category,verdict,confidence_tier,'BSC' AS chain,bsc_tx,'https://bscscan.com/tx/' || lower(bsc_tx) AS tx_urlFROM parsedWHERE resolved_day < current_dateAND bsc_tx IS NOT NULLORDER BY resolved_at DESCLIMIT 100