SniperB25
Updated 2022-10-23Copy 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 BaseStandardEth as
(
select
block_timestamp,
tx_hash,
origin_from_address,
'ETH' as symbol,
amount_usd
from ethereum.core.ez_eth_transfers
where eth_to_address = '0x99c9fc46f92e8a1c0dec1b1747d010903e884be1'
)
,
BaseStandardOther as (
select
block_timestamp,
tx_hash,
origin_from_address,
symbol,
amount_usd
from ethereum.core.ez_token_transfers
where to_address = '0x99c9fc46f92e8a1c0dec1b1747d010903e884be1'
)
,Standard as (
select * from BaseStandardEth
union all
Select * from BaseStandardOther
)
,
Final as (
select A.block_timestamp,
A.tx_hash,
A.origin_from_address,
A.event_name,
amount_usd
from optimism.core.fact_event_logs A
Run a query to Download Data