Query editor
with eth_tx as (selectblock_time,"from" as from_address,"to" as to_address,cast(value as decimal(38, 0)) / 1e18 as tx_amt,tx_hash,'WETH' symbolfromethereum.traceswherecall_type = 'call'and success = trueand value > uint256 '0'and "from" is not nulland "to" is not nulland block_time >= now() - interval '180' dayunion allselectevt_block_time block_time,"from" as from_address,"to" as to_address,cast(value as decimal(38, 0)) / 1e6 as tx_amt,evt_tx_hash tx_hash,'USDT' symbolfrom erc20_ethereum.evt_Transferwhere contract_address = 0xdAC17F958D2ee523a2206206994597C13D831ec7and evt_block_time >= now() - interval '180' dayunion allselectevt_block_time block_time,"from" as from_address,"to" as to_address,cast(value as decimal(38, 0)) / 1e6 as tx_amt,evt_tx_hash tx_hash,'USDC' symbolfrom erc20_ethereum.evt_Transferwhere contract_address = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48and evt_block_time >= now() - interval '180' day),cex_label as (selectaddress,name labelfromlabels.addresseswhereblockchain = 'ethereum'and model_name = 'cex_ethereum'-- and (name like '%Binance%' or name like '%OKX%' or name like '%Bitso%' or name like '%Bybit%' or name like '%Wintermute%' or name like '%Mercado%')),token_price as (select symbol, pricefrom prices.usd_latestwhere symbol in ('WETH','USDT','USDC')and blockchain = 'ethereum')