HosseinUntitled Query
Updated 2023-01-22
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 t1 as (
select
'Swap' as event,
count(distinct tx_id) as txns_count
from osmosis.core.fact_swaps
where block_timestamp > current_date - 90
and tx_succeeded = 1
),
t2 as (
select
'Stake' as event,
count(distinct tx_id) as txns_count
from osmosis.core.fact_staking
where block_timestamp > current_date - 90
and tx_succeeded = 1
),
t3 as (
select
'Liquidity' as event,
count(distinct tx_id) as txns_count
from osmosis.core.fact_liquidity_provider_actions
where block_timestamp > current_date - 90
and tx_succeeded = 1
),
t4 as (
select
'Transfer' as event,
count(distinct tx_id) as txns_count
from osmosis.core.fact_transfers
where block_timestamp > current_date - 90
and tx_succeeded = 1
)
Run a query to Download Data