Hessishsnft - dagora daily price range
Updated 2024-05-29
999
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 snft - dagora daily @ https://flipsidecrypto.xyz/edit/queries/c4ba76b9-4711-44c7-98d2-5ba3ba8510f2
with
prices as ( SELECT RECORDED_HOUR::date as datex, SYMBOL, avg(PRICE) as pr
from osmosis.price.ez_prices
where SYMBOL in ('SEI')
and RECORDED_HOUR::date >= '2023-08-01'
GROUP by 1,2
),
dag00 as (SELECT
tx_id as tx0,
split_part(attribute_value, ', ', 1) as token_id0,
split_part(attribute_value, ', ', 2) as nft0
FROM
sei.core.fact_msg_attributes
where
MSG_TYPE = 'wasm-set-exchange-message'
and ATTRIBUTE_KEY = 'nft'),
dag0 as (SELECT
ATTRIBUTE_VALUE as lister,
token_id0,
nft0
FROM
sei.core.fact_msg_attributes
join dag00 on tx_id=tx0
where
MSG_TYPE = 'coin_spent'
and ATTRIBUTE_KEY = 'spender'),
dag2 as
(SELECT BLOCK_TIMESTAMP::date as date2,
tx_id as tx2,
QueryRunArchived: QueryRun has been archived