Query editor
with cex_wallets as (selectFROM_HEX(REPLACE(LOWER(TRIM(CAST(wallet as VARCHAR))), '0x', '')) as address, nametagfrom dune."52hzdatabase".dataset_cex_wallet), eth_price as (selecttimestamp, pricefrom prices.hourwhere blockchain = 'ethereum'and contract_address = 0xC02aaa39b223FE8D0A0e5C4F27eAD9083C756Cc2and timestamp >= NOW() - INTERVAL '8' DAY)selectCONCAT('0x', TO_HEX(tx."from")) as "From", c.nametag as "To", ROUND(CAST(tx.value as DOUBLE) / 1e18, 2) as "Amount (ETH)", ROUND(CAST(tx.value as DOUBLE) / 1e18 * p.price, 2) as "Amount (USD)", CAST(tx.block_time AT TIME ZONE 'Asia/Ho_Chi_Minh' AS timestamp) as "Date", get_href (CONCAT('https://etherscan.io/tx/', CAST(tx.hash as VARCHAR)), 'View tx') as "Etherscan"from ethereum.transactions txinner join cex_wallets c on tx."to" = c.addressinner join eth_price p on p.timestamp = DATE_TRUNC('hour', tx.block_time)where tx.block_time >= NOW() - INTERVAL '7' DAYand tx.block_time < NOW()and tx.success = trueand tx.value > 0and CAST(tx.value as DOUBLE) / 1e18 * p.price > 1000000and not exists (select1from cex_wallets swhere s.address = tx."from")order bytx.block_time desclimit 500;