sinahosseinzadehUntitled Query
Updated 2022-09-03
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
›
⌄
with eth_staked as (select sum(eth_value)
from ethereum.core.fact_transactions where tx_hash in (select tx_hash from ethereum_core.fact_event_logs where
contract_address='0x4d05e3d48a938db4b7a9a59a802d5b45011bde58')
having sum(eth_value)>0)
,unique_depositors as (select count(distinct from_address)
from ethereum.core.fact_transactions where tx_hash in (select tx_hash from ethereum_core.fact_event_logs where
contract_address='0x4d05e3d48a938db4b7a9a59a802d5b45011bde58'))
,eth_staked_overtime as (select block_timestamp::date , sum(eth_value)
from ethereum.core.fact_transactions where tx_hash in (select tx_hash from ethereum_core.fact_event_logs where
contract_address='0x4d05e3d48a938db4b7a9a59a802d5b45011bde58')
group by 1
having sum(eth_value)>0)
,unique_depositors_overtime as (select block_timestamp::date , count(distinct from_address)
from ethereum.core.fact_transactions where tx_hash in (select tx_hash from ethereum_core.fact_event_logs where
contract_address='0x4d05e3d48a938db4b7a9a59a802d5b45011bde58')
group by 1
having sum(eth_value)>0)
,transactions as (select count(distinct tx_hash) from ethereum_core.fact_event_logs where contract_address='0x4d05e3d48a938db4b7a9a59a802d5b45011bde58')
,transactions_overtime as (select block_timestamp::date ,count(distinct tx_hash) from ethereum_core.fact_event_logs
where contract_address='0x4d05e3d48a938db4b7a9a59a802d5b45011bde58'
group by 1)
,ETH_deposits as (select avg(eth_value),min(eth_value) , max(eth_value) , median(eth_value)
from ethereum.core.fact_transactions where tx_hash in (select tx_hash from ethereum_core.fact_event_logs where
contract_address='0x4d05e3d48a938db4b7a9a59a802d5b45011bde58') and eth_value>0)
select * from eth_staked
Run a query to Download Data