datavortexretired-jade
Updated 2024-11-24
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
›
⌄
⌄
⌄
⌄
--SELECT DISTINCT tx_type, event_type, event_address FROM aptos.core.fact_events
/*
SELECT
tx_type,
event_type,
event_address,
SPLIT_PART(event_type, '::', 1) AS event_address_extracted,
SPLIT_PART(event_type, '::', 2) AS event_module,
SPLIT_PART(event_type, '::', 3) AS event_resource
FROM aptos.core.fact_events
LIMIT 100;
*/
/*
SELECT
SPLIT_PART(event_type, '::', 1) AS event_address_extracted,
SPLIT_PART(event_type, '::', 2) AS event_module,
SPLIT_PART(event_type, '::', 3) AS event_resource
FROM aptos.core.fact_events
LIMIT 100;
*/
/*
SELECT DISTINCT
SPLIT_PART(event_type, '::', 1) AS event_address_extracted,
SPLIT_PART(event_type, '::', 2) AS event_module,
SPLIT_PART(event_type, '::', 3) AS event_resource,
account_address
FROM aptos.core.fact_events
WHERE SPLIT_PART(event_type, '::', 3) ILIKE 'swap'
LIMIT 1000;
*/
--SELECT DISTINCT event_data FROM aptos.core.fact_events
/*
SELECT DISTINCT
key AS json_key,
value AS json_value
QueryRunArchived: QueryRun has been archived