sunslingerUntitled Query
Updated 2022-06-29Copy Reference Fork
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
›
⌄
with
flow_program_wallets as (
SELECT
wallet_address
FROM
"BI_ANALYTICS"."BRONZE"."HEVO_SUBMISSIONS"
WHERE
claim_id IN (
SELECT id
FROM "BI_ANALYTICS"."BRONZE"."HEVO_CLAIMS"
WHERE bounty_id = '92de4d04-2365-4970-945b-706acc4c6c72' -- june 6th hunt
)
),
txs as (
select * from flow.core.fact_transactions
where arrays_overlap((select array_agg(wallet_address) from flow_program_wallets), authorizers)
)
select * from flow.core.fact_events
where tx_id in (select tx_id from txs)
and block_timestamp >= '2022-06-06'
order by block_timestamp asc, tx_id, event_index;
Run a query to Download Data