Query editor
WITH deposits AS (SELECT"from" AS depositor,block_time,-- ETHCASEWHEN token_standard = 'native'AND block_time >= TIMESTAMP '2023-01-09'THEN amountELSE 0END AS eth_amount,-- USDCCASEWHEN token_standard = 'erc20'AND contract_address = 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48AND block_time >= TIMESTAMP '2025-04-14'THEN amountELSE 0END AS usdc_amount,amount_usdFROM tokens.transfersWHERE blockchain = 'ethereum'AND to = 0x7dbb4bdcfe614398d1a68ecc219f15280d0959e0AND block_time >= TIMESTAMP '2023-01-09'AND (token_standard = 'native'OR (token_standard = 'erc20'AND contract_address = 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48)))SELECTget_href('https://etherscan.io/address/0x' || lower(to_hex(depositor)),'0x' || substr(lower(to_hex(depositor)), 1, 6) || '…' || substr(lower(to_hex(depositor)), 39, 4)) AS depositor,MAX(block_time) AS last_deposit_time,SUM(eth_amount) AS total_eth_deposited,SUM(usdc_amount) AS total_usdc_deposited,SUM(amount_usd) AS total_usd_depositedFROM depositsGROUP BY depositorORDER BY total_usd_deposited DESCLIMIT 50