Query editor
with system_addrs AS (SELECT address, b.chain, b.nFROM labels.system_addresses sCROSS JOIN UNNEST(s.blockchain) WITH ORDINALITY AS b (chain, n)), eth_counter as (select date(block_time) as date, count(distinct "from") as eth_wallets, count(*) as eth_transactionsfrom ethereum.transactionswhere date(block_time) between now() - (interval '180' day) and now() - (interval '1' day)and to NOT IN (SELECT address FROM system_addrs WHERE chain = 'ethereum')group by 1order by 1), arb_counter as (select date(block_time) as date, count(distinct "from") as arb_wallets, count(*) as arb_transactionsfrom arbitrum.transactionswhere date(block_time) between now() - (interval '180' day) and now() - (interval '1' day)and to NOT IN (SELECT address FROM system_addrs WHERE chain = 'arbitrum')group by 1order by 1), opt_counter as (select date(block_time) as date, count(distinct "from") as opt_wallets, count(*) as opt_transactionsfrom optimism.transactionswhere date(block_time) between now() - (interval '180' day) and now() - (interval '1' day)and to NOT IN (SELECT address FROM system_addrs WHERE chain = 'optimism')group by 1order by 1)/**, matic_counter as (select date(block_time) as date, count(distinct "from") as poly_wallets, count(*) as poly_transactionsfrom polygon.transactionswhere date(block_time) between now() - (interval '180' day) and now() - (interval '1' day)and to NOT IN (SELECT address FROM system_addrs WHERE chain = 'polygon')group by 1order by 1)**/select a.date--, eth_wallets--, eth_transactions, arb_wallets, arb_transactions, opt_wallets, opt_transactions--, poly_wallets--, poly_transactionsfrom eth_counter a