freemartiandistribution of fee paid
Updated 2024-02-29
999
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 op_fee AS(
SELECT
-- block_timestamp,
tx_hash,
-- origin_from_address,
amount AS fee_amount,
amount_usd AS fee_amount_usd,
'ETH' AS fee_symbol
FROM optimism.core.ez_native_transfers
WHERE from_address = '0x86bb63148d17d445ed5398ef26aa05bf76dd5b59'
AND to_address = '0x3c2269811836af69497e5f486a85d7316753cf62'
),
op_bridge AS (
SELECT
block_timestamp,
tx_hash,
origin_from_address,
symbol,
amount,
amount_usd
FROM optimism.core.ez_token_transfers
WHERE origin_to_address = '0x86bb63148d17d445ed5398ef26aa05bf76dd5b59'
UNION
SELECT
block_timestamp,
tx_hash,
origin_from_address,
'ETH' AS symbol, --originaly WETH
amount,
amount_usd
FROM optimism.core.ez_native_transfers
QueryRunArchived: QueryRun has been archived