Pmisha-bmlMdxveSBR.3
Updated 2022-03-10
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
›
⌄
with t1 as (SELECT
inner_instruction:instructions[0]:parsed:info:authority as wallets,
sum (inner_instruction:instructions[0]:parsed:info:amount/1e6) as amount
from solana.events
WHERE block_timestamp between '2022-01-31' and '2022-03-01'
and instruction:programId='LocktDzaV1W2Bm9DeZeiyz4J9zs4fRqNiYqQyracRXw'
and succeeded = 'TRUE'
and wallets is not null group by 1 order by 2 desc limit 20)
select
inner_instruction:instructions[0]:parsed:info:authority as wallet,
count(block_timestamp) as number_of_locked,
sum (inner_instruction:instructions[0]:parsed:info:amount/1e6) as locked_amount
from solana.events
LEFT JOIN Solana.labels labels
ON instruction:programId = labels.address
where inner_instruction:instructions[0]:parsed:info:authority in (select wallets from t1)
and instruction:programId='LocktDzaV1W2Bm9DeZeiyz4J9zs4fRqNiYqQyracRXw'
--and block_timestamp >= '2022-03-01'
group by 1
Run a query to Download Data