Query editor
with prices as (--THIS COMMON TABLE EXPRESSION IS USED TO GET DAILY PRICES OF THE TOKENselectDATE(hour) as dt,contract_address,AVG(price) as pricefrom dex_solana.price_hourwhere contract_address = 'DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263'and DATE(hour) >= DATE '2025-10-10'group by DATE(hour),contract_address)selectblock_date,SUM(tr.amount * pr.price) as amount_usd,SUM(tr.amount) as Daily_Transfer_volumefrom tokens_solana.transfers as trinner join prices as pr on tr.token_mint_address = pr.contract_addressand pr.dt = tr.block_datewhere token_mint_address = 'DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263'and tr.block_date >= DATE '2025-10-10'group byblock_dateorder byblock_date