hamedfarasandbox
Updated 2025-02-02
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
›
⌄
WITH all_txs AS (
-- blast
SELECT
DISTINCT a.tx_hash,
b.from_address AS Minter,
count(*) AS mints,
a.block_timestamp,
'Blast' AS chain,
FROM
blast.core.fact_decoded_event_logs a
JOIN
blast.core.fact_transactions b
ON a.tx_hash = b.tx_hash
WHERE
a.contract_address = '0x8ccd9c0a9c084412416a85fd748c7f1e9b86442d'
AND a.event_name = 'MintedDomain'
-- a.namespace = 'polygonznsconnect'
GROUP BY
a.tx_hash,
b.from_address,
a.block_timestamp
UNION
-- base
SELECT
DISTINCT a.tx_hash,
b.from_address AS Minter,
count(*) AS mints,
a.block_timestamp,
'Base' AS chain,
FROM
base.core.fact_decoded_event_logs a
JOIN
base.core.fact_transactions b
QueryRunArchived: QueryRun has been archived