Query editor
SELECT date_trunc('hour', t.evt_block_time) AS hour, c.cex_name, SUM(t.value / 1e18) AS lsk_to_cex FROM erc20_ethereum.evt_transfer t JOIN cex.addresses c ON c.address = t."to" AND c.blockchain = 'ethereum' LEFT JOIN cex.addresses cs ON cs.address = t."from" AND cs.blockchain = 'ethereum' WHERE t.contract_address = 0x6033f7f88332b8db6ad452b7c6d5bb643990ae3f AND t.evt_block_time > TIMESTAMP '2026-08-20' AND (cs.address IS NULL OR cs.cex_name <> c.cex_name) GROUP BY 1, 2 ORDER BY 1 DESC;