cheeyoung-kekFlow and L1 2 Months
Updated 2022-07-19Copy Reference Fork
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 flow_u1 as(
SELECT block_timestamp, proposer as wallets , tx_id, 'Flow' AS blockchain
from flow.core.fact_transactions
where block_timestamp >= '2022-01-01'
),
sol_u1 as(
SELECT block_timestamp, SIGNERS [0] as wallets , tx_id, 'Solana' AS blockchain
from solana.core.fact_transactions
where block_timestamp >= '2022-01-01'
),
eth_u1 as(
SELECT block_timestamp, FROM_ADDRESS as wallets ,tx_hash as tx_id, 'Ethereum' AS blockchain
from ethereum.core.fact_transactions
where block_timestamp >= '2022-01-01'
),
active_user as(
SELECT blockchain,
wallets,
date_trunc('week', block_timestamp) AS period,
count(*) AS transactions
FROM flow_u1
GROUP BY 1,2,3
union all
Run a query to Download Data