peteerAmount of token claims per day
Updated 2022-08-31
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 number_of_token_symbol as
(
select count(tx_hash),token_symbol from optimism.velodrome.ez_claimed_rewards
group by 2
)
,number_of_token_symbol_day as
(
select count(tx_hash),token_symbol,date_trunc('day', block_timestamp) from optimism.velodrome.ez_claimed_rewards
group by 2,3
)
,number_of_token_symbol_week as
(
select count(tx_hash),token_symbol,date_trunc('week', block_timestamp) from optimism.velodrome.ez_claimed_rewards
group by 2,3
)
,number_of_token_symbol_month as
(
select count(tx_hash),token_symbol,date_trunc('month', block_timestamp) from optimism.velodrome.ez_claimed_rewards
group by 2,3
)
,amount_of_token_symbol as
(
select sum(claimed_amount_usd),token_symbol from optimism.velodrome.ez_claimed_rewards
where claimed_amount_usd>0
group by 2
)
,amount_of_token_symbol_day as
(
select sum(claimed_amount_usd),token_symbol,date_trunc('day', block_timestamp) from optimism.velodrome.ez_claimed_rewards
where claimed_amount_usd>0
group by 2,3
)
,amount_of_token_symbol_week as
(
Run a query to Download Data