Query editor
withethereum_tvl as (selectfrom_unixtime(cast(item['date'] as double)) as date,cast(item['tvl'] as double) as "Ethereum TVL (USD)"from unnest(cast(json_parse(http_get('https://api.llama.fi/v2/historicalChainTvl/ethereum')) as array(map(varchar, json)))) as t (item)order by date desc),zora_tvl as (selectfrom_unixtime(cast(item['date'] as double)) as date,cast(item['tvl'] as double) as "Zora TVL (USD)"from unnest(cast(json_parse(http_get('https://api.llama.fi/v2/historicalChainTvl/zora')) as array(map(varchar, json)))) as t (item)order by date desc),katana_tvl as (selectfrom_unixtime(cast(item['date'] as double)) as date,cast(item['tvl'] as double) as "Katana TVL (USD)"from unnest(cast(json_parse(http_get('https://api.llama.fi/v2/historicalChainTvl/katana')) as array(map(varchar, json)))) as t (item)order by date desc),bob_tvl as (selectfrom_unixtime(cast(item['date'] as double)) as date,cast(item['tvl'] as double) as "Bob TVL (USD)"from unnest(cast(json_parse(http_get('https://api.llama.fi/v2/historicalChainTvl/bob')) as array(map(varchar, json)))) as t (item)order by date desc),corn_tvl as (selectfrom_unixtime(cast(item['date'] as double)) as date,cast(item['tvl'] as double) as "Corn TVL (USD)"from unnest(cast(json_parse(http_get('https://api.llama.fi/v2/historicalChainTvl/corn')) as array(map(varchar, json)))) as t (item)order by date desc),mode_tvl as (selectfrom_unixtime(cast(item['date'] as double)) as date,cast(item['tvl'] as double) as "Mode TVL (USD)"from unnest(cast(json_parse(http_get('https://api.llama.fi/v2/historicalChainTvl/mode')) as array(map(varchar, json)))) as t (item)order by date desc