Query editor
WITHtvl AS (SELECT * FROM UNNEST(CAST(json_parse(http_get('https://www.uma.rocks/api/getTvlHistory')) AS array(json))) t(history))SELECTdate_trunc('day', to_date(CAST(json_extract(tvl.history, '$.t') AS VARCHAR), 'yyyy-mm-dd')) as day,CAST(json_extract(tvl.history, '$.s') as INTEGER) as stakeFROM tvl