Elprognerd AXL token staking
    Updated 2023-03-31
    SELECT
    date_trunc('week', block_timestamp) as day,
    action,
    sum(
    CASE
    when action LIKE 'delegate' then amount / 1e6
    end
    ) as "Deligation volume",
    sum(
    CASE
    when action LIKE 'undelegate' then amount / 1e6
    end
    ) as "Undeligation volume"
    FROM
    axelar.core.fact_staking
    WHERE
    action in ('delegate', 'undelegate')
    AND currency LIKE 'uaxl'
    and block_timestamp >= '2022-09-12'
    GROUP BY
    1,
    2
    order by
    1


    Run a query to Download Data