Hessishuni - tokens pol activity
Updated 2024-09-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
›
⌄
-- forked from uni - tokens arb activity @ https://flipsidecrypto.xyz/studio/queries/3bced36c-3172-4d5c-bef3-09a9b3d257f7
with
tokens_list as
(SELECT block_timestamp,
PLATFORM,
TOKEN_IN as token,
TX_HASH
from polygon.defi.ez_dex_swaps
where
PLATFORM ilike '%uniswap%'
union
SELECT block_timestamp,
PLATFORM,
TOKEN_out as token,
TX_HASH
from polygon.defi.ez_dex_swaps
where
PLATFORM ilike '%uniswap%'),
valid_tokens as (
select DISTINCT token
from tokens_list
GROUP by 1
having count(distinct tx_hash) > 9),
latest_timestamps AS (
SELECT DISTINCT token, MAX(block_timestamp::DATE) AS max_timestamp
QueryRunArchived: QueryRun has been archived