hessTotal (Last 30D)
Updated 2024-04-30
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 blitz as ( select block_timestamp,
'Blitz' as platform,
tx_hash,
trader,
symbol,
case when is_taker = 'true' then amount_usd else 0 end as amount
from blast.blitz.ez_perp_trades)
,
vertex as (select block_timestamp,
'Vertex' as platform,
tx_hash,
trader,
symbol,
case when is_taker = 'true' then amount_usd else 0 end as amount
from arbitrum.vertex.ez_perp_trades
UNION all
select block_timestamp,
'Vertex' as platform,
tx_hash,
trader,
symbol,
case when is_taker = 'true' then amount_usd else 0 end as amount
from arbitrum.vertex.ez_spot_trades
)
,
tblitz as ( select platform,
count(DISTINCT trader) as blitz_trader,
count(DISTINCT tx_hash) as blitz_tx,
sum(amount) as blitz_volume,
avg(amount) as avg_b_volume
from blitz
where block_timestamp::date >= current_date - 30
group by 1)
,
tvertex as ( select platform,
count(DISTINCT trader) as vertex_trader,
QueryRunArchived: QueryRun has been archived