Query editor
with--- SOLANA TRANSACTIONStx_sol as (selectday, tx_count, tx_valuefromdune.vnx.result_solana_vgbp_transactionswheretoken_mint_address='5H4voZhzySsVvwVYDAKku8MZGuYBC7cXaBKDPW4YHWW1' -- VGBP)/*vgbp_accounts as (select address fromsolana_utils.token_accountswheretoken_mint_address='5H4voZhzySsVvwVYDAKku8MZGuYBC7cXaBKDPW4YHWW1' -- VGBP), tx_sol as (selectcall_block_date as day, count(call_tx_id) as tx_count, sum(amount) as tx_valuefrom(select call_block_date, call_tx_id, amount from spl_token_solana.spl_token_call_transferwhereaccount_source in (select address from vgbp_accounts)union allselect call_block_date, call_tx_id, amount from spl_token_solana.spl_token_call_transferCheckedwhereaccount_source in (select address from vgbp_accounts))group by 1)*/--- BASE TRANSACTIONS, tx_base as (selectdate_trunc('day',evt_block_time) as day, count(evt_tx_hash) as tx_count, sum(value) as tx_value, contract_address as contract_addressfrom vnx_base.vgbp_evt_Transfer tgroup by 1,4)-- Create empty time series, days as (with days_seq as (SELECT sequence((select cast('2024-12-01' as date) as day), date_trunc('day', cast(now() as timestamp)), interval '1' day