Query editor
with tokens as (selectaccount_arguments[4] as tokenfrom solana.instruction_callswhere block_time >= timestamp '2025-04-27'and executing_account = 'dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN'and tx_signer = '5qWya6UjwWnGVhdSBL3hyZ7B45jbk6Byt1hwd7ohEGXE'and account_arguments[4] <> 'So11111111111111111111111111111111111111112'and tx_successand not is_inner), combined_trades as (selectdate_trunc('day', block_time) as trade_date,amount_usdfrom dex_solana.tradeswhere block_time >= timestamp '2025-04-27'and (token_bought_mint_address in (select token from tokens)or token_sold_mint_address in (select token from tokens)))selecttrade_date,round(sum(amount_usd)) as total_vol_usdfrom combined_tradesgroup by trade_dateorder by trade_date;