hessMonthly Share of Staked Tokens from Supply
    Updated 2025-03-16
    with delegate as (select trunc(block_timestamp,'month') as monthly,
    sum(amount/pow(10,6)) as delegate_amount,
    sum(delegate_amount) over (order by monthly asc) as cumulative_delegate_amount,
    count(DISTINCT tx_id) as delegate_tx,
    count(DISTINCT DELEGATOR_ADDRESS) as delegate_user,
    avg(amount/pow(10,6)) as avg_delegate_amount
    from axelar.gov.fact_staking
    where action = 'delegate'
    group by 1
    )
    ,
    undelegate as (select trunc(block_timestamp,'month') as monthly,
    sum(amount/pow(10,6))*-1 as undelegate_amount,
    sum(undelegate_amount) over (order by monthly asc) as cumulative_undelegate_amount,
    count(DISTINCT tx_id)*-1 as undelegate_tx,
    count(DISTINCT DELEGATOR_ADDRESS)*-1 as undelegate_user,
    avg(amount/pow(10,6)) as avg_undelegate_amount
    from axelar.gov.fact_staking
    where action = 'undelegate'
    group by 1
    )

    select a.monthly,
    delegate_amount,
    undelegate_amount,
    cumulative_delegate_amount,
    cumulative_undelegate_amount,
    delegate_tx,
    undelegate_tx,
    delegate_user,
    undelegate_user,
    1194491719 as supply,
    cumulative_delegate_amount+cumulative_undelegate_amount as net,
    (net/supply)*100 as "Share of Staked Tokens From Supply"
    from delegate a left outer join undelegate b on a.monthly = b.monthly
    where a.monthly >= '2022-08-01'
    Last run: 29 days ago
    MONTHLY
    DELEGATE_AMOUNT
    UNDELEGATE_AMOUNT
    CUMULATIVE_DELEGATE_AMOUNT
    CUMULATIVE_UNDELEGATE_AMOUNT
    DELEGATE_TX
    UNDELEGATE_TX
    DELEGATE_USER
    UNDELEGATE_USER
    SUPPLY
    NET
    Share of Staked Tokens From Supply
    1
    2022-08-01 00:00:00.000110.42132-11.10006113342803.635194-183.57991344-67-4119449171913342620.0552811.117012353
    2
    2022-09-01 00:00:00.000306289336.781195-4753625.778117319632140.416389-4753809.358033915-601705-411194491719314878331.05835926.360863458
    3
    2022-10-01 00:00:00.000124884255.755141-5346843.309887444516396.17153-10100652.66791716556-3963733-2871194491719434415743.50361336.368250746
    4
    2022-11-01 00:00:00.000103760250.330514-18710791.415002548276646.502044-28811444.08291912331-4853196-3541194491719519465202.41912543.488388756
    5
    2022-12-01 00:00:00.000189592601.481108-34420689.015242737869247.983152-63232133.09816110777-3983184-2651194491719674637114.88499156.479011462
    6
    2023-01-01 00:00:00.00019713604.914766-4047555.025801757582852.897918-67279688.12396211763-5233500-3671194491719690303164.77395657.790535823
    7
    2023-02-01 00:00:00.00025236963.949989-11782266.335063782819816.847907-79061954.45902510523-6893312-4601194491719703757862.38888258.916931042
    8
    2023-03-01 00:00:00.0009947832.504776-23129028.211219792767649.352683-102190982.67024410763-5603420-3961194491719690576666.68243957.813432751
    9
    2023-04-01 00:00:00.00060437510.177888-7258391.882187853205159.530571-109449374.5524319502-5343241-3621194491719743755784.9781462.265461798
    10
    2023-05-01 00:00:00.0008227014.816727-53913271.694087861432174.347298-163362646.2465188257-4503191-2891194491719698069528.1007858.440717252
    11
    2023-06-01 00:00:00.00017492430.2422-7936247.314493878924604.589498-171298893.5610117430-4592918-2911194491719707625711.02848759.240738113
    12
    2023-07-01 00:00:00.0007222309.50931-5582432.245402886146914.098808-176881325.8064138417-3253142-2241194491719709265588.29239559.378024729
    13
    2023-08-01 00:00:00.00065320241.178826-2768187.086621951467155.277634-179649512.8930348236-3703315-2571194491719771817642.384664.614733623
    14
    2023-09-01 00:00:00.00018268076.094692-13017459.809698969735231.372326-192666972.7027328217-3883234-2661194491719777068258.66959465.054302705
    15
    2023-10-01 00:00:00.00016146861.247734-14149469.812679985882092.62006-206816442.5154119357-4473572-3171194491719779065650.10464965.221519556
    16
    2023-11-01 00:00:00.00014372760.753448-31494569.5978441000254853.37351-238311012.11325512351-12705042-8901194491719761943841.26025363.788122524
    17
    2023-12-01 00:00:00.00025109173.509128-29383864.4177311025364026.88264-267694876.53098615332-17066655-12471194491719757669150.3516563.430255589
    18
    2024-01-01 00:00:00.00029538674.009811-25119505.1939081054902700.89245-292814381.72489423852-155811609-10921194491719762088319.16755363.800217871
    19
    2024-02-01 00:00:00.0005148463.766881-31501635.3661821060051164.65933-324316017.09107621402-199710037-14431194491719735735147.56825261.593993149
    20
    2024-03-01 00:00:00.00071787256.071935-63046800.028461131838420.73126-387362817.11953643741-45349951-31301194491719744475603.61172762.325723299
    32
    5KB
    1s