yasmin-n-d-r-hSOL VS ETH 1
Updated 2022-09-12Copy 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 sol_txs as (
SELECT
count(DISTINCT signers[0]) as sol_transactors
from
solana.core.fact_transactions
where
block_Timestamp >= CURRENT_DATE - 90
),
sol_swaps as (
SELECT
count(DISTINCT swapper) as sol_swappers
from
solana.core.fact_swaps
where
block_Timestamp >= CURRENT_DATE - 90
),
sol_nft_sales as (
SELECT
count(DISTINCT purchaser) as sol_nft_buyers
from
solana.core.fact_nft_sales
where
block_Timestamp >= CURRENT_DATE - 90
),
solana as (
SELECT
*,
sol_swappers / sol_transactors * 100 as percent_swappers_sol,
sol_nft_buyers / sol_transactors * 100 as percent_nft_buyer_sol
from
sol_nft_sales,
sol_swaps,
sol_txs
),
eth_txs as (
SELECT
Run a query to Download Data