rezarwzDaily ETH Volume copy
Updated 2024-08-10
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
›
⌄
SELECT
'Blast' as blockchain,
date_trunc('{{time_frame}}', block_Timestamp) as date,
sum(Value) as "ETH Volume"
FROM
blast.core.fact_transactions
where
block_Timestamp :: date is not null
and STATUS = 'SUCCESS'
and block_Timestamp :: date >= '{{day_from}}'
and block_Timestamp :: date <= '{{day_to}}'
group by
1,
2
UNION
all
SELECT
'Arbitrum' as blockchain,
date_trunc('{{time_frame}}', block_Timestamp) as date,
sum(Value) as "ETH Volume"
FROM
Arbitrum.core.fact_transactions
where
block_Timestamp :: date is not null
and STATUS = 'SUCCESS'
and block_Timestamp :: date >= '{{day_from}}'
and block_Timestamp :: date <= '{{day_to}}'
group by
1,
2
UNION
all
SELECT
'Optimism' as blockchain,
date_trunc('{{time_frame}}', block_Timestamp) as date,
sum(Value) as "ETH Volume"
QueryRunArchived: QueryRun has been archived