Lordkingflow174
Updated 2023-05-02Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
›
⌄
select
sum (amount) as FLOW,
avg (amount) as FLOW_AVG,
median (amount) as MEDIAN,
count (distinct tx_id) as TRXS,
count (distinct delegator) as Users,
case when action in ('DelegatorTokensCommitted','TokensCommitted') then 'Stake'
end as TYPE,
min (amount) as MIN,
max (amount) as MAX
from flow.core.ez_staking_actions
where tx_succeeded = 'TRUE' AND TYPE IS NOT NULL
group by TYPE
Run a query to Download Data