flipperjo0golden-salmon
Updated 2025-01-10
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 initial_transactions AS (
SELECT
block_timestamp,
tx_hash
FROM
polygon.core.fact_transactions
WHERE
LOWER(from_address) = LOWER('0x8a1E7a12663B18B7f4257936824c89fdFCcDA82e')
ORDER BY
block_timestamp DESC
),
to_addresses AS (
SELECT
tx_hash,
to_address
FROM
polygon.core.fact_token_transfers
WHERE
tx_hash IN (
SELECT tx_hash
FROM initial_transactions
)
AND to_address IS NOT NULL
)
SELECT
it.block_timestamp,
it.tx_hash,
ta.to_address
FROM
initial_transactions AS it
LEFT JOIN
to_addresses AS ta
ON
it.tx_hash = ta.tx_hash
ORDER BY
it.block_timestamp DESC;
QueryRunArchived: QueryRun has been archived