Eman-RazStaking/Unstaking Stats
    Updated 2025-03-05
    with table1 as (select count(distinct tx_hash) as "Staking Txns Count",
    count(distinct origin_from_address) as "Staker Count", sum(value) as "Staking Volume ($MON)", avg(value) as "Avg Staking Volume ($MON)",
    median(value) as "Median Staking Volume ($MON)"
    from monad.testnet.fact_traces
    where from_address=origin_from_address
    and to_address='0x2c9c959516e9aaedb2c748224a41249202ca8be7'
    and origin_to_address=to_address and origin_function_signature='0xd5575982'
    and type='CALL' and trace_address='ORIGIN' and trace_succeeded='TRUE' and block_timestamp::date>='2025-02-18'),

    table2 as (select count(distinct tx_hash) as "Unstaking Txns Count",
    count(distinct origin_from_address) as "Unstaker Count", sum(value) as "Unstaking Volume ($MON)", avg(value) as "Avg Unstaking Volume ($MON)",
    median(value) as "Median Unstaking Volume ($MON)"
    from monad.testnet.fact_traces
    where to_address=origin_from_address
    and from_address='0x2c9c959516e9aaedb2c748224a41249202ca8be7'
    and origin_to_address=from_address and origin_function_signature='0x6fed1ea7'
    and type='CALL' and trace_succeeded='TRUE' and block_timestamp::date>='2025-02-18')

    select "Staking Txns Count", "Unstaking Txns Count", "Staker Count", "Unstaker Count",
    round("Staking Volume ($MON)",2), round("Unstaking Volume ($MON)",2), round(("Staking Volume ($MON)"-"Unstaking Volume ($MON)"),2) as "Net Staking Volume ($MON)",
    round("Avg Staking Volume ($MON)",2), round("Avg Unstaking Volume ($MON)",2), round("Median Staking Volume ($MON)",2), round("Median Unstaking Volume ($MON)",2),
    round(("Staking Txns Count"/("Staking Txns Count"+"Unstaking Txns Count")),3) as "Staking Txn Ratio"
    FROM table1 , table2


    Last run: 17 days ago
    Staking Txns Count
    Unstaking Txns Count
    Staker Count
    Unstaker Count
    ROUND("STAKING VOLUME ($MON)",2)
    ROUND("UNSTAKING VOLUME ($MON)",2)
    Net Staking Volume ($MON)
    ROUND("AVG STAKING VOLUME ($MON)",2)
    ROUND("AVG UNSTAKING VOLUME ($MON)",2)
    ROUND("MEDIAN STAKING VOLUME ($MON)",2)
    ROUND("MEDIAN UNSTAKING VOLUME ($MON)",2)
    Staking Txn Ratio
    1
    212511110321816415412130734275979.284038071.12237908.162.013.910.010.020.673
    1
    91B
    31s