rahoUntitled Query
Updated 2022-12-09
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
›
⌄
with deposits as(
select
*
from polygon.core.fact_traces
where to_address = lower('0xAA59736b80cf77d1E7D56B7bbA5A8050805F5064')
and from_address = lower('0x36cc7b13029b5dee4034745fb4f24034f3f2ffc6')
),
withdrawals as(
select
*
from polygon.core.fact_traces
where from_address = lower('0xAA59736b80cf77d1E7D56B7bbA5A8050805F5064')
and to_address = lower('0x36cc7b13029b5dee4034745fb4f24034f3f2ffc6')
),
net_bal as (
select
d.*,
w.*
from deposits d
join withdrawals w
on d.from_address = w.to_address
)
select * from net_bal
Run a query to Download Data