sherwanxa1
Updated 2022-11-27
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
›
⌄
with
tb1 as (
select
count(DISTINCT SENDER) as address,
count(DISTINCT TX_ID) as tx,
date_trunc('WEEK',block_timestamp) as date
from axelar.core.fact_transfers
where TRANSFER_TYPE = 'IBC_TRANSFER_IN'
and BLOCK_TIMESTAMP >= '2022-01-01'
GROUP by date
order by 2 DESC),
tb2 as (
select
count(DISTINCT SENDER) as address,
count(DISTINCT TX_ID) as tx,
date_trunc('WEEK',block_timestamp) as date
from axelar.core.fact_transfers
where not TRANSFER_TYPE = 'IBC_TRANSFER_IN'
and BLOCK_TIMESTAMP >= '2022-01-01'
GROUP by date
order by 2 DESC
)
select 'IBC' as type,* from tb1
UNION
select 'Consistent' as type,* from tb2
Run a query to Download Data