Query editor
SELECT COUNT(*) AS transaction_count, 'Ethereum' as blockchain, date_trunc('day', block_time) as block_dateFROM ethereum.transactionsWHERE success = trueAND block_time >= now() - interval '90' dayGROUP BY 2, 3UNION ALLSELECT COUNT(*) AS transaction_count, 'Gnosis Chain' as blockchain, date_trunc('day', block_time) as block_dateFROM gnosis.transactionsWHERE success = trueAND block_time >= now() - interval '90' dayGROUP BY 2, 3UNION ALLSELECT COUNT(*) AS transaction_count, 'Optimism' as blockchain, date_trunc('day', block_time) as block_dateFROM optimism.transactionsWHERE success = trueAND block_time >= now() - interval '90' dayGROUP BY 2, 3UNION ALLSELECT COUNT(*) AS transaction_count, 'BNB Chain' as blockchain, date_trunc('day', block_time) as block_dateFROM bnb.transactionsWHERE success = trueAND block_time >= now() - interval '90' dayGROUP BY 2, 3UNION ALLSELECT COUNT(*) AS transaction_count, 'Solana' as blockchain, block_dateFROM solana.transactionsWHERE success = trueAND block_date >= now() - interval '90' dayGROUP BY 2, 3UNION ALLSELECT COUNT(*) AS transaction_count, 'Polygon' as blockchain, date_trunc('day', block_time) as block_dateFROM polygon.transactionsWHERE success = trueAND block_time >= now() - interval '90' dayGROUP BY 2, 3UNION ALLSELECT COUNT(*) AS transaction_count, 'Arbitrum' as blockchain, date_trunc('day', block_time) as block_dateFROM arbitrum.transactionsWHERE success = trueAND block_time >= now() - interval '90' dayGROUP BY 2, 3UNION ALLSELECT COUNT(*) AS transaction_count, 'Avalanche C' as blockchain, date_trunc('day', block_time) as block_dateFROM avalanche_c.transactionsWHERE success = trueAND block_time >= now() - interval '90' dayGROUP BY 2, 3UNION ALLSELECT COUNT(*) AS transaction_count, 'Fantom' as blockchain, date_trunc('day', block_time) as block_dateFROM fantom.transactionsWHERE success = trueAND block_time >= now() - interval '90' dayGROUP BY 2, 3