select
block_timestamp::date,
count(1) as transactions,
count(distinct from_address),
sum(gas_used),
sum(tx_fee)
from optimism.core.fact_transactions
where block_timestamp >= '2019-01-01'
--where to_address = '0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666'
--group by 1
-- and origin_function_signature ='0xfd9f1e10'