Query editor
WITH recipients AS (SELECT"from" as recipientFROM query_3814890), counts AS (SELECT'zora' AS network,COUNT(*) AS transaction_count,COUNT(CASE WHEN block_date > CURRENT_DATE - INTERVAL '1' month THEN 1 END) AS last_month_countFROM zora.transactionsWHERE"from" IN (SELECTrecipientFROM recipients)UNION ALLSELECT'mode' AS network,COUNT(*) AS transaction_count,COUNT(CASE WHEN block_date > CURRENT_DATE - INTERVAL '1' month THEN 1 END) AS last_month_countFROM mode.transactionsWHERE"from" IN (SELECTrecipientFROM recipients)UNION ALLSELECT'optimism' AS network,COUNT(*) AS transaction_count,COUNT(CASE WHEN block_date > CURRENT_DATE - INTERVAL '1' month THEN 1 END) AS last_month_countFROM optimism.transactionsWHERE"from" IN (SELECTrecipientFROM recipients)UNION ALLSELECT'arbitrum' AS network,COUNT(*) AS transaction_count,COUNT(CASE WHEN block_date > CURRENT_DATE - INTERVAL '1' month THEN 1 END) AS last_month_countFROM arbitrum.transactionsWHERE"from" IN (SELECTrecipientFROM recipients)UNION ALLSELECT'ethereum' AS network,COUNT(*) AS transaction_count,COUNT(CASE WHEN block_date > CURRENT_DATE - INTERVAL '1' month THEN 1 END) AS last_month_countFROM ethereum.transactionsWHERE"from" IN (