Query editor
SELECTtype_string,SUBSTR(CAST(topics_decoded AS VARCHAR), 1, 160) AS topics,COUNT(*) AS events,COUNT(DISTINCT transaction_id) AS txs,MIN(closed_at) AS first_seen,MAX(closed_at) AS last_seenFROM stellar.history_contract_eventsWHERE closed_at_date >= DATE '2026-07-01'AND closed_at_date <= DATE '2026-11-20'AND in_successful_contract_call = trueAND contract_id = 'CA526Y2NQWGWVVQ7RFFPGAZMU66PSYJ3UC2MTVAV4ZU7OM5BOPHDXUSG'AND CAST(topics_decoded AS VARCHAR) NOT LIKE '%write_prices%'GROUP BY 1, 2ORDER BY events DESCLIMIT 100