Ali3N123
Updated 2024-06-30Copy Reference Fork
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
›
⌄
with eth_transfers as (
select
ORIGIN_FROM_ADDRESS trader,
TRACE_INDEX EVENT_INDEX ,
'ETH' symbol ,
AMOUNT_USD,
BLOCK_TIMESTAMP,
TX_HASH ,
from_address,
TO_ADDRESS
from blast.core.ez_native_transfers
where ORIGIN_TO_ADDRESS = '0x337827814155ecbf24d20231fca4444f530c0555'
and origin_from_address not in (
select distinct address from blast.core.dim_labels
union all
select distinct address from blast.core.dim_contracts)
),
token_transfers as (
select ORIGIN_FROM_ADDRESS trader,
EVENT_INDEX ,
SYMBOL,
AMOUNT_USD,
BLOCK_TIMESTAMP,
TX_HASH,
from_address,
TO_ADDRESS
from blast.core.ez_token_transfers
where ORIGIN_TO_ADDRESS = '0x337827814155ecbf24d20231fca4444f530c0555'
and origin_from_address not in (
select distinct address from blast.core.dim_labels
union all
select distinct address from blast.core.dim_contracts)
),
swaps as (
select * from eth_transfers
UNION
QueryRunArchived: QueryRun has been archived