binhachonRocketPool Recent Activity
Updated 2022-04-25
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
›
⌄
with deposit_transaction as (
select
block_timestamp,
to_address as address,
'Stake ETH' as symbol,
amount
from ethereum_core.ez_token_transfers
where block_timestamp >= getdate() - interval'3 months'
and contract_address = '0xae78736cd615f374d3085123a210448e74fc6393'
and from_address = '0x0000000000000000000000000000000000000000'
union all
select
block_timestamp,
from_address as address,
'Run Node' as symbol,
ETH_value as amount
from ethereum_core.fact_transactions
where block_timestamp >= getdate() - interval'3 months'
and to_address = '0xdcd51fc5cd918e0461b9b7fb75967fdfd10dae2f'
and origin_function_signature = '0x3876de3a'
)
select
date_trunc('week', block_timestamp) as time,
symbol,
sum(amount) as weekly_deposit,
avg(amount) as avg_deposit,
sum(weekly_deposit) over (partition by symbol order by time) as deposit_over_time,
count(distinct address) as unique_users
from deposit_transaction
group by 1, 2
Run a query to Download Data