Query editor
with--- ETHEREUMtx_eth as (select date_trunc('day', evt_block_time) as day, count(evt_tx_hash) as tx_count, sum(value) as tx_valuefrom vnx_ethereum.vchf_ethereum_evt_Transfergroup by 1)--- AVALANCHE, tx_avax as (select date_trunc('day', evt_block_time) as day, count(evt_tx_hash) as tx_count, sum(value) as tx_valuefrom vnx_avalanche_c.vchf_avax_evt_Transfergroup by 1)--- POLYGON, tx_poly as (select date_trunc('day', evt_block_time) as day, count(evt_tx_hash) as tx_count, sum(value) as tx_valuefrom vnx_polygon.vchf_polygon_evt_Transfergroup by 1)--- SOLANA (materialized view), tx_sol as (select cast(day as timestamp) as day, tx_count, tx_valuefrom dune.vnx.result_solana_vchf_transactionswhere token_mint_address = 'AhhdRu5YZdjVkKR3wbnUDaymVQL2ucjMQ63sZ3LFHsch' -- VCHF)--- ARBITRUM, tx_arb as (select date_trunc('day', evt_block_time) as day, count(evt_tx_hash) as tx_count, sum(value) as tx_valuefrom vnx_arbitrum.vchf_arbitrum_evt_Transfergroup by 1)--- STELLAR, tx_stl as (select cast(closed_at_date as timestamp) as day, count(operation_id) as tx_count, sum(amount) as tx_valuefrom (select operation_id, closed_at_date, amountfrom stellar.history_effectswhere asset_code = 'VCHF'and asset_issuer = 'GDXLSLCOPPHTWOQXLLKSVN4VN3G67WD2ENU7UMVAROEYVJLSPSEWXIZN'and address != asset_issuerand type in (2, 3) -- account_credited / account_debitedgroup by 1, 2, 3