Drsimoneth tx
Updated 2022-11-05
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 tx1 AS
--(SELECT
-- DATE_TRUNC('month', block_timestamp) as week,
-- count(DISTINCT TX_HASH) as num_tx ,
-- 'near' as laybel
--FROM NEAR.core.fact_transactions
--WHERE week >= '2022-01-01'
--GROUP BY 1
-- order by WEEK desc) ,
--tx2 AS (
-- SELECT
-- DATE_TRUNC('month', block_timestamp) as week,
-- count(DISTINCT TX_ID) as num_tx ,
-- 'solana' as laybel
--FROM solana.core.fact_transactions
--WHERE week >= '2022-01-01'
--GROUP BY 1
--order by WEEK desc--) ,
--tx3 AS (
SELECT
DATE_TRUNC('day', block_timestamp) as day,
count(DISTINCT TX_HASH) as num_tx ,
'ethereum' as laybel
FROM ethereum.core.fact_transactions
WHERE day >= '2022-01-01'
GROUP BY 1
order by day desc
--) ,
--total as
--(select week , num_tx , laybel from tx1
--UNION all
--select week , num_tx , laybel from tx2
--UNION all
Run a query to Download Data