CryptoIcicleOPtimitic or Pessimistic? - Tx Metrics vs Other L2
    Updated 2022-10-18
    -- Are you optimistic or pessimistic about the future of the layer-2 chain known as Optimism?
    -- How do you think it will fare going forward compared to other L2s?
    -- Pay by Quality Your score determines your final payout.
    -- Grand Prize 187.5 USDC (A score of 11 or 12 earns you a Grand Prize title)
    -- Payout 125 USDC
    -- Score Multiplier0-7 : 0% 8 : 50% 9 : 75% 10 : 100% 11 : 125% 12 : 150%
    -- Payout Network Ethereum
    -- Level Advanced
    -- Difficulty Elite
    -- Are you optimistic or pessimistic about the future of the layer-2 chain known as Optimism?
    -- How do you think it will fare going forward compared to other L2s?
    -- Make your case with Flipside data. Include at least three visualizations in your submission,
    -- and note any particularly interesting trend our outliers you see.

    with eth_price as (
    select
    date_trunc('day', hour) as date,
    avg(price) as price
    from ethereum.core.fact_hourly_token_prices
    where symbol = 'WETH' and hour >= CURRENT_DATE - {{n_days}}
    group by date
    ),
    op_txns as (
    select
    block_timestamp,
    from_address,
    tx_hash,
    'optimism' as type
    from optimism.core.fact_transactions
    where block_timestamp >= CURRENT_DATE - {{n_days}}
    ),
    pl_txns as (
    select
    block_timestamp,
    from_address,
    tx_hash,
    Run a query to Download Data