Query editor
with users_details as (select block_time,"from" as addressfrom ethereum.transactions t1union allselect block_time,"to" as addressfrom ethereum.transactions t2),users_initial_transaction as (select address,min(block_time) as min_block_datefrom users_detailsgroup by 1),new_user_transaction_in_days as (select addressfrom users_initial_transactionwhere NOW() - interval '1' day < min_block_date and min_block_date < NOW()group by 1),contracts as (select *from (select *from (-- select * ,row_number() over (partition by address order by modified_at desc) as pxselect address, name ,row_number() over (partition by address order by address desc) as pxfrom labels.contracts) ewhere px = 1)),top15_result as(SELECT CASE WHEN "to"=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 THEN 'WETH'WHEN "to" = 0xdac17f958d2ee523a2206206994597c13d831ec7 THEN 'Tether: Tether_USD'WHEN "to" = 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 THEN 'Circle: USDC'WHEN "to" = 0x00000000006c3852cbef3e08e8df289169ede581 THEN 'Seaport: Seaport'WHEN "to" = 0x6dfc34609a05bc22319fa4cce1d1e2929548c0d7 THEN 'Bovada: Wallet 0x6dfc'WHEN "to" = 0x981dc247745800bd2ca28a4bf147f0385eaa0bc0 THEN 'Nuts DAO: NUTS Token'WHEN "to" = 0xa9d1e08c7793af67e9d92fe308d5697fb81d3e43 THEN 'Coinbase'WHEN "to" = 0x28c6c06298d514db089934071355e5743bf21d60 THEN 'Binance 14'WHEN "to" = 0x4e5b2e1dc63f6b91cb6cd759936495434c7e972f THEN 'FixedFloat'WHEN "to" = 0x8a43f58b335398a2392fa49b2b4a0ff18134359d THEN 'Crypto Anubiz'WHEN "to" = 0xcfcffe432a48db53f59c301422d2edd77b2a88d7 THEN 'TEXAN'WHEN "to" = 0x881d40237659c251811cec9c364ef91dc08d300c THEN 'MetaMask: MetaMask Swaps Contract'WHEN "to" = 0xcffad3200574698b78f32232aa9d63eabd290703 THEN 'Crypto.com: Main Wallet 0xcff'WHEN "to" = 0xddfabcdc4d8ffc6d5beaf154f18b778f892a0740 THEN 'Coinbase'WHEN "to" = 0xf89d7b9c864f589bbf53a82105107622b35eaa40 THEN 'Bybit: Main Wallet 0xf89'WHEN "to" = 0xbf94f0ac752c739f623c463b5210a7fb2cbb420b THEN 'OKX: Main Wallet 0xbf9'WHEN "to" = 0xd15a1a2a3211b58113e45809f05934252e34e2f8 THEN 'WooZooMusic'WHEN "to" = 0xcdd37ada79f589c15bd4f8fd2083dc88e34a2af2 THEN 'SideShift'WHEN "to" = 0xa7efae728d2936e78bda97dc267687568dd593f3 THEN 'OKX: Main Wallet 0xa7e'WHEN "to" = 0x77e2545d1d63856e22ce82e3d6f2a3b2077232bf THEN 'Camels'WHEN "to" = 0x6339e5e072086621540d0362c4e3cea0d643e114 THEN 'Opepen Edition (OPEPEN)'WHEN "to" = 0x077d360f11d220e4d5d831430c81c26c9be7c4a4 THEN 'ChangeNOW exchange'