Query editor
-- This query has been migrated to run on DuneSQL.-- If you need to change back because you’re seeing issues, use the Query History view to restore the previous version.-- If you notice a regression, please email [email protected].WITH data AS (SELECTCASEWHEN nonce < 10THEN '<10'WHEN nonce BETWEEN 10 AND 50THEN '10 to 50'WHEN nonce BETWEEN 50 AND 100THEN '50 to 100'WHEN nonce BETWEEN 100 AND 150THEN '100 to 150'WHEN 150 <= nonceTHEN '150 or more'END AS Amount,COUNT(*) AS DepositsFROM ethereum.transactionsWHERE"to" = 0x32400084C286CF3E17e7B677ea9583e60a000324AND value > 0 /* this remove the tx from zkSync L2 Operator */AND "success"GROUP BY1ORDER BYAmount)SELECTamount AS "Nonce",deposits AS "Amount",ROUND((Deposits * 100) / CAST(SUM(Deposits) OVER () AS DOUBLE), 1) AS "Percentage"FROM dataORDER BYAmount