Sandesh Categorical stats
Updated 2023-12-04
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
›
⌄
-- forked from Categorical stats @ https://flipsidecrypto.xyz/edit/queries/3ea88555-1c22-400a-b113-547726b4e67a
with new_users as (
select distinct from_address from ethereum.core.fact_transactions
where block_timestamp::date >='2023-01-01'
and nonce=0
),
new_users_transactions AS (
select ft.* from ethereum.core.fact_transactions ft
inner join new_users nu
on ft.from_address=nu.from_address
),
swapper as
(
select distinct origin_from_address from ethereum.defi.ez_dex_swaps
where block_timestamp::date >='2023-01-01'
),
nft_minter as
(
select distinct nft_to_address from ethereum.nft.ez_nft_mints
where block_timestamp::date >='2023-01-01'
),
nft_buyer as
(
select distinct buyer_address from ethereum.nft.ez_nft_sales
where block_timestamp::date >='2023-01-01'
),
nft_seller as
(
select distinct seller_address from ethereum.nft.ez_nft_sales
where block_timestamp::date >='2023-01-01'
)
(
select 'swaps' as type, count(distinct nu.from_address) as number_of_swaps
Run a query to Download Data