Query editor
WITH deposits AS (SELECT"from" AS wallet,SUM(amount) AS total_stableFROM tokens.transfersWHEREblockchain = 'ethereum'AND (contract_address = 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 -- USDCOR contract_address = 0xdac17f958d2ee523a2206206994597c13d831ec7 -- USDT)AND "to" = 0x8d1f2ebfaccf1136db76fdd1b86f1dede2d23852AND block_time BETWEEN TIMESTAMP '2025-07-31 16:00:00' AND TIMESTAMP '2025-08-07 16:00:00'GROUP BY "from")SELECTwallet,total_stableFROM depositsWHERE total_stable > 5000ORDER BY total_stable DESCLIMIT 50;