0-MIDTx Status by time frame on Arbitrum
    Updated 2023-04-13
    select date_trunc('{{Time_Frame}}',BLOCK_TIMESTAMP)as date
    ,case
    when STATUS='SUCCESS' then 'TRUE' else 'FALSE' end as tx_type
    ,count(distinct FROM_ADDRESS) as "ACTIVE USERS"
    ,sum(TX_FEE) as "TX FEE(ETH)"
    ,count(distinct TX_HASH) as "TX COUNT"
    ,"TX COUNT"/"ACTIVE USERS" as "PER USER TX COUNT"
    from arbitrum.core.fact_transactions
    where BLOCK_TIMESTAMP>='{{Start_Date}}' and BLOCK_TIMESTAMP<='{{End_Date}}'
    group by 1,2

    Run a query to Download Data