Query editor
withdetails as (SELECTfrom_unixtime(cast(cast(json_extract(defilama, '$.date') as varchar) as decimal)) AS day,CAST(json_extract(json_extract(defilama, '$.totalCirculating'),'$.peggedUSD') AS double) AS totalcirculating,'USDT' as tokenFROMUNNEST (CAST(json_parse(http_get ('https://stablecoins.llama.fi/stablecoincharts/bsc?stablecoin=1')) AS array (json))) t (defilama)union allSELECTfrom_unixtime(cast(cast(json_extract(defilama, '$.date') as varchar) as decimal)) AS day,CAST(json_extract(json_extract(defilama, '$.totalCirculating'),'$.peggedUSD') AS double) AS totalcirculating,'USDC' as tokenFROMUNNEST (CAST(json_parse(http_get ('https://stablecoins.llama.fi/stablecoincharts/bsc?stablecoin=2')) AS array (json))) t (defilama)union allSELECTfrom_unixtime(cast(cast(json_extract(defilama, '$.date') as varchar) as decimal)) AS day,CAST(json_extract(json_extract(defilama, '$.totalCirculating'),'$.peggedUSD'