Query editor
WITH decoded AS (SELECTlower('0x' ||substr(regexp_extract_all(to_hex(data), '.{64}')[1], -- first 32-byte word25, 40 -- strip padding)) AS wallet,block_dateFROM ethereum.logsWHERE contract_address = from_hex('3b4d794a66304f130a4db8f2551b0070dfcf5ca7')AND topic0 = from_hex('15dce32b28da4e9abe948d3acb53e6764159ef75b454aa1030604232a8d366bb')),first_deposit AS (SELECTwallet,block_date,ROW_NUMBER() OVER (PARTITION BY wallet ORDER BY block_date ASC) AS rnFROM decoded)SELECTblock_date,COUNT(*) AS new_usersFROM first_depositWHERE rn = 1GROUP BY block_dateORDER BY block_date ASC;