Query editor
with------------------------------ Prices ------------------------------fee_prices as (selectdate_trunc('hour', minute) AS hour,avg(case when contract_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 then price end) as eth_price,avg(case when contract_address = 0xca14007eff0db1f8135f4c25b34de49ab0d42766 then price end) as strk_pricefromprices.usdwhereblockchain = 'ethereum'and contract_address in (0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2, 0xca14007eff0db1f8135f4c25b34de49ab0d42766)group by1),token_prices as (selectdate_trunc('hour', minute) as hour,case symbolwhen 'WETH' then 'ETH'else symbolend as symbol,avg(price) as pricefromprices.usdwhereblockchain = 'ethereum'and contract_address in (0x6b175474e89094c44da98b954eedeac495271d0f, -- DAI0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, -- USDC0xca14007eff0db1f8135f4c25b34de49ab0d42766, -- STRK0xdac17f958d2ee523a2206206994597c13d831ec7, -- USDT0x2260fac5e5542a773aa44fbcfedf7c193bc2c599, -- WBTC0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2, -- WETH0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0 -- wstETH)group by1,2),------------------------------ Nostra ------------------------------nostra as (selecte.block_number,e.block_time,e.block_date,e.transaction_hash,e.event_index,element_at(e.keys, 2) as liquidator,element_at(e.keys, 3) as user,element_at(e.data, 2) as debt_token_address,case d.symbolwhen 'dDAI' then 'DAI'when 'dUNO' then 'DAI'when 'iUNO-c' then 'DAI'when 'dETH' then 'ETH'when 'iETH-c' then 'ETH'when 'dUSDC' then 'USDC'when 'iUSDC-c' then 'USDC'when 'dUSDT' then 'USDT'