Query editor
SELECTbridge,DATE_TRUNC('month', block_time) as time,SUM(CAST(amount_usd AS DOUBLE)) AS usd_volume,count(distinct user) as number_addressesFROMdune.jumper_exchange.result_bridge_market AS t /* AND block_time < date_trunc('week', Now()) -- Add this line to see stats from current week */WHEREblock_time > NOW() - INTERVAL '365' dayGROUP BY1,2UNION ALLSELECTprotocol as bridge,DATE_TRUNC('month', block_time) as time,SUM(CAST(volume AS DOUBLE)) AS usd_volume,1 as number_addressesfromdune.jumper_exchange.result_bridge_messagingWHEREblock_time > NOW() - INTERVAL '365' dayGROUP BY1,2