Query editor
WITHpair AS (SELECTDATE_TRUNC('day', call_block_time) AS day,AVG(output__reserve1 / 1e18) AS weth_reservesFROMuniswap_v2_ethereum.Pair_call_getReservesWHEREcontract_address = 0x9f93F419d0267877247A39b4eb6b2775AbAC6bdcGROUP BY1),weth_price AS (SELECTday,priceFROMprices.usd_dailyWHEREblockchain = 'ethereum'AND symbol = 'WETH')SELECTpair.day AS Day,weth_reserves * price * 2 AS TVLFROMpairINNER JOIN weth_price ON pair.day = weth_price.dayORDER BYpair.day DESC;