Query editor
-- with s as ( select tx_from from zksync.logs where topic2=0x01000021a88a3dee3b0944ff9cbf36cb51c26df19b404d38a115a2a2e3ee5b88),with t as (select distinct "from", hash, data from zksync.transactions-- inner join s on zksync.transactions."from"=tx_from andwhere to in (select address from dune.matter_labs.dataset_zksync_era_address_labels where-- project= 'zkSwap Finance' and"type"='LP Pair'))-- select txns, count(tx_from), intervals[1] as min_interval from(-- select intervals[1] as min_interval , count(*) from(-- select txns , count(*) from(select tx_from, txns, slice(intervals,1, 5) from (select tx_from, count(*) as txns, array_agg(approve_interval order by approve_interval asc) as intervals from (select "from" as tx_from, nonce, block_time-last_block_time as approve_interval, block_time, last_block_time from(select "from", nonce, block_time, lead(block_time) over (partition by "from" order by block_number desc) as last_block_time from zksync.transactions where"from" in (select "from" from t) -- and bytearray_starts_with(data, 0x095ea7b3))) where approve_interval<=interval '23' second group by 1)where txns>=4-- )group by 1