Afonso_DiazOvertime
    Updated 2025-05-13
    with

    pricet as (
    select
    hour::date as date,
    avg(price) as price_usd
    from near.price.ez_prices_hourly
    where symbol = 'NEAR'
    group by 1
    ),

    stake_unstake as (
    select
    tx_hash,
    block_timestamp,
    'Stake' as action,
    receipt_signer_id as user,
    action_data:deposit / 1e24 as amount
    from
    near.core.ez_actions
    where
    receipt_receiver_id = 'meta-pool.near'
    and action_data:method_name = 'deposit_and_stake'
    and receipt_succeeded
    and tx_succeeded

    union all

    select
    tx_hash,
    block_timestamp,
    'Unstake' as action,
    receipt_signer_id as user,
    action_data:args:amount / 1e24 as amount
    from
    near.core.ez_actions
    Last run: 10 days ago
    DATE
    TRANSACTIONS
    USERS
    NEAR_PRICE_USD
    NEW_USERS
    RETURNING_USERS
    CUMULATIVE_TRANSACTIONS
    CUMULATIVE_NEW_USERS
    1
    2021-08-01 00:00:00.00066479003.87924290190006647900
    2
    2021-09-01 00:00:00.000612922597.7854406011604655127762504
    3
    2021-10-01 00:00:00.0001043544948.78254866434861008232115990
    4
    2021-11-01 00:00:00.0003576182510.0183081967481077267876738
    5
    2021-12-01 00:00:00.0005096230610.5945001110101296318837748
    6
    2022-01-01 00:00:00.0005694259914.78737394615201079375779268
    7
    2022-02-01 00:00:00.0004252154210.742586946701841418299969
    8
    2022-03-01 00:00:00.0007447294011.322209731191010304927611879
    9
    2022-04-01 00:00:00.0008113268015.486881143142412565738913303
    10
    2022-05-01 00:00:00.000526118377.74459240373511026265014038
    11
    2022-06-01 00:00:00.00023419634.1464635252846796499114322
    12
    2022-07-01 00:00:00.00012816953.8008587571835126627214505
    13
    2022-08-01 00:00:00.00020477804.7603317182425386831914747
    14
    2022-09-01 00:00:00.00011256124.1555597252363766944414983
    15
    2022-10-01 00:00:00.0008044163.1873823341202967024815103
    16
    2022-11-01 00:00:00.0009494842.1584949981373477119715240
    17
    2022-12-01 00:00:00.0007764201.5165921531802407197315420
    18
    2023-01-01 00:00:00.0007103502.012060269772737268315497
    19
    2023-02-01 00:00:00.0006753082.4072788181141947335815611
    20
    2023-03-01 00:00:00.0005783112.0040399431052067393615716
    46
    3KB
    237s