AephiaMy PlayerProfile
Updated 2024-09-11
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
›
⌄
WITH player_profile AS (
select
--fact_events.*
distinct(instruction:accounts[1]) as player_profiles
FROM solana.core.fact_events, lateral flatten(input => inner_instruction:instructions)
WHERE program_Id = 'pprofELXjL5Kck7Jn5hCpwAL82DpTkSYBENzahVtbc9'
AND succeeded = 'true'
AND value:parsed:type = 'createAccount'
--AND signers[0] = 'FjJ1ZQWAz5tYKNu4g1ti7ptCH5YNED5nmA5giMMC8BZg'
--AND (signers = ['{{Wallet1}}'] OR signers = ['{{Wallet2}}'] OR signers = ['{{Wallet3}}'])
--AND (signers[0] IN ('{{Wallet1}}', '{{Wallet2}}', '{{Wallet3}}'))-- OR signers = ['{{Wallet2}}'] OR signers = ['{{Wallet3}}'])
AND ARRAYS_OVERLAP(signers, ['{{Wallet1}}', '{{Wallet2}}', '{{Wallet3}}'])
AND block_timestamp > '2023-09-21'
--limit 100
)
SELECT * FROM player_profile
QueryRunArchived: QueryRun has been archived