tkvresearch2024-03-14 07:01 PM
Updated 2024-03-15
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 *
-- from external.defillama.fact_dex_volume
-- where chain = 'aptos'
with label as
(
select address,
ADDRESS_NAME
from aptos.core.dim_labels
where label_type = 'dex'
)
select *
from aptos.core.fact_transactions
where sender in (select address from label)
limit 100
select *,
b.address_name as name_add
from
(select BLOCK_TIMESTAMP,
sender,
TX_HASH
from aptos.core.fact_transactions
where sender in (select address from label)
and success = 'TRUE') a left join label b on a.sender = b.address
select distinct event_resource
from aptos.core.fact_events
-- SELECT
QueryRunArchived: QueryRun has been archived