rezarwzL2 Defi TVL
Updated 2025-02-24
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with l2_tvl as (
SELECT
TO_TIMESTAMP(VALUE:date) as date,
value:tvl as tvl_usd,
'Blast' as blockchain
from
(
SELECT
livequery.live.udf_api(
'https://api.llama.fi/v2/historicalChainTvl/Blast'
) :data as resp
),
LATERAL FLATTEN (input => resp)
union
all
SELECT
TO_TIMESTAMP(VALUE:date) as date,
value:tvl as tvl_usd,
'Base' as blockchain
from
(
SELECT
livequery.live.udf_api(
'https://api.llama.fi/v2/historicalChainTvl/Base'
) :data as resp
),
LATERAL FLATTEN (input => resp)
union
all
SELECT
TO_TIMESTAMP(VALUE:date) as date,
value:tvl as tvl_usd,
'Arbitrum' as blockchain
from
(
SELECT
QueryRunArchived: QueryRun has been archived