Query editor
with buyers as (SELECT buyer from query_3611840),price AS (SELECTminute,round(price,2) as pricefrom prices.usdwhere symbol = 'LPT'and minute >= date('2023-11-20')),inflow as (SELECTpr.price,CAST(a.value AS DOUBLE)/1e18 AS amtFROM livepeer_ethereum.LivepeerToken_evt_Transfer a left join price pr on date_trunc('minute', a.evt_block_time) = pr.minutewhere a.evt_block_time >= date('2023-11-20')and a.to in (SELECT buyer from buyers))SELECTprice, sum(amt) as amtfrominflowgroup by 1