MostlyData_Solana Validator Stake - Skip Rate Dist
    Updated 2025-02-27
    -- forked from Solana Validator Stake - commission dist @ https://flipsidecrypto.xyz/studio/queries/0bdda536-fb14-44a0-8651-3f47315c346e
    with total_stake as(
    select
    epoch,
    sum(active_stake) * pow(10,-9) as totSOLstaked

    from solana.gov.fact_validators

    group by 1
    )

    ,validator_cohort_raw as(
    select
    fv.epoch,
    case
    when fv.active_stake * pow(10,-9) / ts.totSOLstaked * 100 >= 1 then 'Cohort 1'
    when (fv.active_stake * pow(10,-9) / ts.totSOLstaked * 100 < 1
    and fv.active_stake * pow(10,-9) / ts.totSOLstaked * 100 >= 0.5) then 'Cohort 2'
    when (fv.active_stake * pow(10,-9) / ts.totSOLstaked * 100 < 0.5
    and fv.active_stake * pow(10,-9) / ts.totSOLstaked * 100 >= 0.05) then 'Cohort 3'
    when (fv.active_stake * pow(10,-9) / ts.totSOLstaked * 100 < 0.05) then 'Cohort 4'
    end as validator_cohort,
    fv.node_pubkey

    from solana.gov.fact_validators fv
    inner join total_stake ts on fv.epoch = ts.epoch

    )

    ,skip_rate_data as(
    select
    vc.epoch,
    vc.validator_cohort,
    1 - bp.num_blocks_produced / bp.num_leader_slots as skip_rate

    from solana.gov.fact_block_production bp
    Last run: about 2 months ago
    EPOCH
    VALIDATOR_COHORT
    AVERAGE
    P25
    P50
    P95
    1
    739Cohort 10.0013865909090.0001870.00037750.006878549
    2
    532Cohort 10.0476879047620.0175770.0307320.100311
    3
    519Cohort 10.0154291666670.00703150.0129180.0320357
    4
    491Cohort 10.0115523750.007310.0098910.02042925
    5
    742Cohort 10.00362560869600.0004610.016040299
    6
    457Cohort 10.0122874285710.010765250.01136050.0192597
    7
    490Cohort 10.0152886428570.00901250.0122090.031832399
    8
    657Cohort 10.0195243636360.009583250.0120580.036223
    9
    641Cohort 10.0719732727270.0276020.0339090.272686549
    10
    717Cohort 10.0059404090910.00116150.0019430.023338399
    11
    688Cohort 10.0382236818180.018220750.02492750.1350099
    12
    534Cohort 10.0227770952380.0107280.0148440.055718
    13
    648Cohort 10.0559659523810.0273840.0365150.160468
    14
    572Cohort 10.02969020.008897250.0168920.077372
    15
    747Cohort 10.0012810.000371250.00062650.0045909
    16
    582Cohort 10.0364119473680.0065320.0131310.133177399
    17
    738Cohort 10.0035215454550.000767250.0015720.0101283
    18
    679Cohort 10.0302551818180.01611150.02627250.06980905
    19
    668Cohort 10.0174807142860.012080.016240.030634
    20
    666Cohort 10.0145516190480.010490.0130460.020425
    ...
    1216
    68KB
    2s