developer_viola2024-03-11 04:03 PM
Updated 2024-05-17
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 eth as (
select date_trunc('month', block_timestamp) as block_date, count(DISTINCT TX_HASH) as Etheruem
from ethereum.core.fact_transactions
where block_date > '2021-12-31'
group by block_date),
arb as (
select date_trunc('month', block_timestamp) as block_date, count(DISTINCT TX_HASH) as Arbitrum
from arbitrum.core.fact_transactions
where block_date > '2021-12-31'
group by block_date
),
poly as (
select date_trunc('month', block_timestamp) as block_date, count(DISTINCT TX_HASH) as Polygon
from polygon.core.fact_transactions
where block_date > '2021-12-31'
group by block_date
),
base as (
select date_trunc('month', block_timestamp) as block_date, count(DISTINCT TX_HASH) as Base
from base.core.fact_transactions
where block_date > '2021-12-31'
group by block_date
),
op as (
select date_trunc('month', block_timestamp) as block_date, count(DISTINCT TX_HASH) as Optimism
from optimism.core.fact_transactions
where block_date > '2021-12-31'
group by block_date
)
select eth.*, arb.Arbitrum, poly.Polygon, op.Optimism, base.Base from eth
left join arb
QueryRunArchived: QueryRun has been archived