Query editor
with mux_data as(select (CAST(json_query(args,'lax $.amount') AS DECIMAL)/1e18 *CAST(json_query(args,'lax $.assetPrice') AS DECIMAL)/1e18) as volume,evt_block_timefrom mux_arbitrum.LiquidityPoolHop1_evt_ClosePositionUNION ALLselect (CAST(json_query(args,'lax $.amount') AS DECIMAL(38, 0))/1e18 *CAST(json_query(args,'lax $.assetPrice') AS DECIMAL(38, 0))/1e18),evt_block_timefrom mux_arbitrum.LiquidityPoolHop1_evt_OpenPositionUNION ALLselect (CAST(json_query(args,'lax $.amount') AS DECIMAL(38, 0))/1e18 *CAST(json_query(args,'lax $.assetPrice') AS DECIMAL(38, 0))/1e18),evt_block_timefrom mux_arbitrum.LiquidityPoolHop1_evt_LiquidateUNION ALLselect (CAST(json_query(args,'lax $.amount') AS DECIMAL)/1e18 *CAST(json_query(args,'lax $.assetPrice') AS DECIMAL)/1e18),evt_block_timefrom mux_avalanche_c.LiquidityPoolHop1_evt_ClosePositionUNION ALLselect (CAST(json_query(args,'lax $.amount') AS DECIMAL(38, 0))/1e18 *CAST(json_query(args,'lax $.assetPrice') AS DECIMAL(38, 0))/1e18),evt_block_timefrom mux_avalanche_c.LiquidityPoolHop1_evt_OpenPositionUNION ALLselect (CAST(json_query(args,'lax $.amount') AS DECIMAL(38, 0))/1e18 *CAST(json_query(args,'lax $.assetPrice') AS DECIMAL(38, 0))/1e18),evt_block_timefrom mux_avalanche_c.LiquidityPoolHop1_evt_LiquidateUNION ALLselect (CAST(json_query(args,'lax $.amount') AS DECIMAL(38, 0))/1e18 *CAST(json_query(args,'lax $.assetPrice') AS DECIMAL(38, 0))/1e18),evt_block_timefrom mux_bnb.LiquidityPoolHop1_evt_ClosePositionUNION ALLselect (CAST(json_query(args,'lax $.amount') AS DECIMAL(38, 0))/1e18 *CAST(json_query(args,'lax $.assetPrice') AS DECIMAL(38, 0))/1e18),evt_block_timefrom mux_bnb.LiquidityPoolHop1_evt_OpenPositionUNION ALLselect (CAST(json_query(args,'lax $.amount') AS DECIMAL(38, 0))/1e18 *CAST(json_query(args,'lax $.assetPrice') AS DECIMAL(38, 0))/1e18