Flipside TeamTop Projects by N_Tx 7d
Updated 2024-09-05
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
›
⌄
-- Credit to Kellen https://flipsidecrypto.xyz/kellen/q/RAbtkVVAlzIp/program-calls-including-inner-instructions
with
t0 as (
select
distinct program_id
, tx_id
from solana.core.fact_events
where block_timestamp >= current_date - 8
and block_timestamp < current_date
and succeeded
union
select
distinct c.value:programId::string AS program_id
, t.tx_id
from solana.core.fact_transactions t
, lateral flatten(
input => inner_instructions
) b
, lateral flatten(
input => b.value:instructions
) c
where block_timestamp >= current_date - 8
and block_timestamp < current_date
and t.succeeded
),
t1 as (
select program_id
QueryRunArchived: QueryRun has been archived