maybeyonasaddress_bals
Updated 2021-10-13
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 eth_in as(
select
to_address as address,
amount as eth
from ethereum.udm_events
where event_type = 'native_eth'
),
eth_out as(
select
from_address as address,
-amount as eth
from ethereum.udm_events
where event_type = 'native_eth'
),
gas as(
select
from_address as address,
-tx_fee as eth
from ethereum.transactions
),
all_eth as(
select * from eth_in
union all
select * from eth_out
union all
select * from gas
),
eth_bal as(
select
address,
sum(eth) as eth
from all_eth
group by 1
),
eth_today as(
select date(hour) as date
Run a query to Download Data