h4wk1
Updated 2023-04-09
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
›
⌄
-- Wallets
-- GwLV8LoFmjgJ7tXrpRPbPZ8bUVuQuXWHdYm8J9wBd9mz -- Solana
-- 0x772BfEF2bCdC088dC35BBFd2D7049c9BbEDE208A -- ETH, Polygon
-- osmo1pewre4ph6ygwrsgpy8dcr9c7f7h5patw4ahj2d -- OSMO
-- 0x79367064f4ebc32d -- FLOW
-- 6xhfwVepgUNamSmAiJfh5aiQ2YtUX1hKYcphGqfLeKAg -- Solana
-- Binance
-- 6edtSGjXyx6Ljya61jtCLHED26hhCSBrdTFMbdLZa2Mr -- Solana
-- 0x46a46cd7bc3c752b65863df92f79cc6ae3313b20 -- ETH, Polygon,
-- cosmos1j8pp7zvcu9z8vd882m284j29fn2dszh05cqvf9 -- ATOM
-- 0x7a341f27b70046e5 -- FLOW
-- XEXJFCDQJ4PV6MJATYH3SQ4BBRAA36VXZA7QO4FBUR2KM4D7YETRT4IKGI -- ALGO
-- thor1uz4fpyd5f5d6p9pzk8lxyj4qxnwq6f9utg0e7k -- RUNE
with my_sol_wallet as (
select 'GwLV8LoFmjgJ7tXrpRPbPZ8bUVuQuXWHdYm8J9wBd9mz' UNION
select '6xhfwVepgUNamSmAiJfh5aiQ2YtUX1hKYcphGqfLeKAg' UNION
select '6edtSGjXyx6Ljya61jtCLHED26hhCSBrdTFMbdLZa2Mr'
), sol_price as (
select recorded_hour::date as price_date,
avg(close) as price
from solana.core.fact_token_prices_hourly
where SYMBOL = 'SOL' group by 1
), tx_h4wk as (
select tx_id, block_timestamp, signers
from solana.core.fact_transactions where block_timestamp >= '2022-03-01'
and signers[0] in (select * from my_sol_wallet)
), transfer_h4wk as (
select *
FROM solana.core.fact_transfers
where block_timestamp >= '2022-03-01'
and tx_to in (select * from my_sol_wallet)
and tx_from not in (select * from my_sol_wallet)
and tx_from not in ('5tzFkiKscXHK5ZXCGbXZxdw7gTjjD1mBwuoFbhUvuAi9') -- Binance
and mint = 'So11111111111111111111111111111111111111112'
Run a query to Download Data