Query editor
-- Recent Resolutions (Resolution Oracle)-- Source: https://interface.cournot.ai/cournot/dune/recent_resolved_markets (LiveFetch)-- tx_hash is the Base transaction that carries the on-chain resolution proof.-- confidence_tier is the confidence tier assigned by the Cournot Intelligence Oracle.-- verdict = resolved outcome.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,'Base' AS chain,json_extract_scalar(item, '$.base_proof_txn') AS tx_hashFROM items)SELECT resolved_at,market_name,category,verdict,confidence_tier,chain,tx_hash,'https://basescan.org/tx/' || tx_hash AS tx_urlFROM parsedWHERE resolved_day < current_dateORDER BY resolved_at DESCLIMIT 100