Query editor
WITH transactions_with_zklogin AS (SELECTDATE_TRUNC('day', FROM_UNIXTIME(t.timestamp_ms / 1000)) AS transaction_day,COUNT(*) AS transaction_countFROM sui.transactions AS tWHEREt.has_zklogin_sig = TRUEGROUP BYDATE_TRUNC('day', FROM_UNIXTIME(t.timestamp_ms / 1000))), total_transactions_and_secure_accounts AS (SELECTSUM(t.transaction_count) AS total_transaction_count,COUNT(DISTINCT t.sender) AS total_secure_accountsFROM sui.transactions AS tWHEREt.has_zklogin_sig = TRUE), zklogin_accounts AS (SELECT DISTINCTt.sender AS zklogin_accountFROM sui.transactions AS tWHEREt.has_zklogin_sig = TRUE)SELECTta.zklogin_account,COUNT(ta.zklogin_account) OVER () AS total_zklogin_accountsFROM zklogin_accounts AS ta