roya2stake luna in flipside validator
    Updated 2022-03-25
    select
    date_trunc('day',block_timestamp) as blook_day,
    date_trunc('hour',block_timestamp) as blook_hour,
    case
    when delegator_address = 'terra1mjhr08sj0pc4szn2wrxapkag9syehr0ykx5gss' then 'me'
    else 'everyone else' end as delegator,
    count(*) as transactions,
    sum(event_amount_usd) as amount
    from terra.staking
    where
    validator_address_name = 'terravaloper1r843mpk5zzkfgtnduskd0dzgeltv0n503ckzy6'
    and date_trunc('day',block_timestamp) = '2022-01-25 00:00:00.000'
    group by 1, 2, 3
    order by 4 desc

    Run a query to Download Data