Pmisha-bmlMdxTotal transactions
    Updated 2022-04-24
    with t1 as(
    select
    'From wallet to bridge' as actions,
    count(TX_HASH) as counts
    from
    ethereum_core.fact_event_logs
    where BLOCK_TIMESTAMP>='2022-01-01'
    and CONTRACT_ADDRESS = '0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0' and EVENT_NAME = 'Transfer'
    and EVENT_INPUTS:to = lower('0x22B1Cbb8D98a01a3B71D034BB899775A76Eb1cc2')
    ),

    t2 as(select
    'From brdige to layer 2' as actions,
    count(TX_HASH) as counts
    from
    ethereum_core.fact_event_logs
    where BLOCK_TIMESTAMP>='2022-01-01'
    and CONTRACT_ADDRESS = lower('0x22B1Cbb8D98a01a3B71D034BB899775A76Eb1cc2') and EVENT_NAME='TransferSentToL2'
    )

    select * from t1
    union ALL
    select * from t2
    Run a query to Download Data