winnie-fs2024-03-07 05:53 PM copy copy copy
Updated 2024-03-08
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
›
⌄
-- forked from 2024-03-07 05:53 PM copy copy @ https://flipsidecrypto.xyz/edit/queries/7ec803c7-ac58-4854-b964-7e97c8adc737
-- forked from 2024-03-07 05:53 PM copy @ https://flipsidecrypto.xyz/edit/queries/eeb339f5-7743-4622-85c9-d8ff5beee524
-- forked from 2024-03-07 05:53 PM @ https://flipsidecrypto.xyz/edit/queries/bac6db15-f9c8-443b-8b68-87b5b9bca51d
SELECT
Date_trunc(day , block_timestamp) AS date,
COUNT(DISTINCT tx_id) AS no_of_transactions
FROM solana.defi.fact_swaps
WHERE swap_program = 'jupiter swap v6'
AND succeeded = 'true'
AND swap_to_amount IS NOT NULL
AND Date >= '2023-01-01'
GROUP BY 1
ORDER BY 2 DESC
QueryRunArchived: QueryRun has been archived