Eman-RazDemographics of $MOON Token Holders
    Updated 2025-02-08
    with table5 as (with table3 as (
    with table1 as (
    with tab2 as (
    with tab1 as (
    select tx_from as user, -amount/pow(10,5) as amount
    from eclipse.core.fact_transfers
    where mint='HgD4Dc6qYCj3UanMDiuC4qANheeTsAvk6DY91B3F8gnL'
    and succeeded='TRUE'

    union all

    select tx_to as user, amount/pow(10,5) as amount
    from eclipse.core.fact_transfers
    where mint='HgD4Dc6qYCj3UanMDiuC4qANheeTsAvk6DY91B3F8gnL'
    and succeeded='TRUE')

    select user as "Holder", sum(amount) as "Balance"
    from tab1
    group by 1)

    select "Holder"
    from tab2
    where "Balance">0),

    table2 as (select signers::array[0] as user, min(block_timestamp::date) as "First Transaction Date"
    from eclipse.core.fact_transactions
    where succeeded='TRUE'
    group by 1)

    select "Holder", "First Transaction Date"
    from table1 left join table2 on table1."Holder"=table2.user
    where "First Transaction Date" is not null),

    table4 as (select DISTINCT block_timestamp::date as "Current Date"
    from eclipse.core.fact_transactions
    where block_timestamp::date = current_date-1)
    Last run: about 2 months ago
    Wallet Age
    Number of Holders
    1
    077
    2
    12317
    3
    211
    4
    32
    5
    43
    6
    510
    7
    613
    8
    721
    9
    813
    10
    913
    11
    1015
    12
    117
    13
    1232
    14
    1325
    15
    1413
    16
    1511
    17
    1637
    18
    1723
    19
    1842
    20
    1992
    ...
    159
    1KB
    144s