Query editor
selectfrom_unixtime(cast(json_extract(data,'$.date') as bigint)) as Date,cast(json_extract(data,'$.tvl') as double) as TotalValueLockedfrom (select json_parse(http_get('https://api.llama.fi/v2/historicalChainTvl/polygon')) as defilama) across join unnest(cast(defilama as array(json))) as t(data)order by 1 desc