MotilolaI'd work with this
Updated 2024-10-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 transactions AS (
SELECT
block_number,
tx_hash,
position,
tx_fee
FROM
ethereum.core.fact_transactions
),
jared_swaps AS (
SELECT
a.block_timestamp,
a.block_number,
b.position,
a.tx_hash,
a.platform,
a.origin_from_address,
a.origin_to_address,
a.contract_address,
a.amount_in,
a.amount_in_usd,
a.amount_out,
a.amount_out_usd,
a.symbol_in,
a.symbol_out,
a.token_in,
a.token_out,
b.tx_fee AS total_tx_fee
FROM
ethereum.defi.ez_dex_swaps a
INNER JOIN transactions b ON a.block_number = b.block_number
AND a.tx_hash = b.tx_hash
WHERE
a.origin_to_address = LOWER('0x1f2F10D1C40777AE1Da742455c65828FF36Df387')
),
QueryRunArchived: QueryRun has been archived