freemartianTotal Actions - Staking
    Updated 2022-12-06
    select
    count(distinct DELEGATOR_ADDRESS) as delegators_count,
    sum(amount) as amount,
    action
    from terra.core.ez_staking
    where tx_succeeded = 'TRUE'
    and block_timestamp >= CURRENT_DATE - {{Past_X_Days}}
    group by action
    Run a query to Download Data