barbodnet
Updated 2022-07-12
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
›
⌄
with tb1 as (select
BLOCK_TIMESTAMP::date as day,
count(distinct SIGNERS[0]) as users_solana,
count(distinct tx_id) as txn_solana
from flipside_prod_db.solana.fact_transactions
where SUCCEEDED='TRUE'
and BLOCK_TIMESTAMP>=CURRENT_DATE-60
group by 1),
tb2 as (select
BLOCK_TIMESTAMP::date as day,
count(distinct FROM_ADDRESS) as users_ETH,
count(distinct TX_HASH) as txn_ETH
from flipside_prod_db.ethereum_core.fact_transactions
where STATUS='SUCCESS'
and BLOCK_TIMESTAMP>=CURRENT_DATE-60
group by 1)
select tb1.day as day,
users_solana,
users_ETH,
txn_solana,
txn_ETH
from tb1 join tb2 on tb1.day=tb2.day
Run a query to Download Data