Elprognerd12 TVL
Updated 2023-03-07Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
›
⌄
SELECT
date::date as date,
'Arbitrum' as chain,
sum(tvl_usd)/pow(10,9) as "TVL(Billion)"
FROM external.defillama.fact_chain_tvl
WHERE date >= '2023-01-01'
AND chain in ('Arbitrum')
GROUP BY 1,2
UNION all
SELECT
date::date as date,
'Optimism' as chain,
sum(tvl_usd)/pow(10,9) as "TVL(Billion)"
FROM external.defillama.fact_chain_tvl
WHERE date >= '2023-01-01'
AND chain in ('Optimism')
GROUP BY 1,2
ORDER BY 1
Run a query to Download Data