Hessishpy - daily
Updated 2025-03-27Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
›
⌄
with pyth as (SELECT DISTINCT tx_hash as tx, 'Pyth' as "related contract"
from aptos.core.fact_events
where
BLOCK_TIMESTAMP::date >= '{{Starting_date}}'
and EVENT_RESOURCE = 'PriceFeedUpdate')
SELECT BLOCK_TIMESTAMP::date as date,
count(DISTINCT SENDER) as senders, count(DISTINCT tx_hash) as "Pyth-related txs", sum("Pyth-related txs") over (order by date) as "Cumulative txs"
from aptos.core.fact_transactions join pyth on tx_hash = tx
where
BLOCK_TIMESTAMP::date >= '{{Starting_date}}'
GROUP by all
QueryRunArchived: QueryRun has been archived