Query editor
SELECTblock_time,tx_hash,contract_address,topic1,topic2,topic3,topic0,dataFROM {{chain}}.logsWHEREblock_time > NOW() - INTERVAL '{{last_dt}}' dayAND ({{filter event by contract}} = 0OR contract_address = {{event contract}})AND ({{filter by topic1}} = 0OR topic1 = {{topic1}})AND ({{filter by topic2}} = 0OR topic2 = {{topic2}})AND ({{filter by topic3}} = 0OR topic1 = {{topic3}})AND ({{filter by topic0}} = 0OR topic1 = {{topic0}})AND ({{filter by data}} = 0OR topic1 = {{data}})ORDER BYblock_time DESCLIMIT {{limit}}