@@ -474,6 +474,33 @@ export const slotResponseSchema = z.object({
474474
475475export const slotSkippedHistorySchema = z . number ( ) . array ( ) ;
476476
477+ export const slotRankingsSchema = z . object ( {
478+ slots_largest_tips : z . number ( ) . array ( ) ,
479+ vals_largest_tips : z . coerce . bigint ( ) . array ( ) ,
480+ slots_smallest_tips : z . number ( ) . array ( ) ,
481+ vals_smallest_tips : z . coerce . bigint ( ) . array ( ) ,
482+ slots_largest_fees : z . number ( ) . array ( ) ,
483+ vals_largest_fees : z . coerce . bigint ( ) . array ( ) ,
484+ slots_smallest_fees : z . number ( ) . array ( ) ,
485+ vals_smallest_fees : z . coerce . bigint ( ) . array ( ) ,
486+ slots_largest_rewards : z . number ( ) . array ( ) ,
487+ vals_largest_rewards : z . coerce . bigint ( ) . array ( ) ,
488+ slots_smallest_rewards : z . number ( ) . array ( ) ,
489+ vals_smallest_rewards : z . coerce . bigint ( ) . array ( ) ,
490+ slots_largest_duration : z . number ( ) . array ( ) ,
491+ vals_largest_duration : z . coerce . bigint ( ) . array ( ) ,
492+ slots_smallest_duration : z . number ( ) . array ( ) ,
493+ vals_smallest_duration : z . coerce . bigint ( ) . array ( ) ,
494+ slots_largest_compute_units : z . number ( ) . array ( ) ,
495+ vals_largest_compute_units : z . coerce . bigint ( ) . array ( ) ,
496+ slots_smallest_compute_units : z . number ( ) . array ( ) ,
497+ vals_smallest_compute_units : z . coerce . bigint ( ) . array ( ) ,
498+ slots_largest_skipped : z . number ( ) . array ( ) ,
499+ vals_largest_skipped : z . coerce . bigint ( ) . array ( ) ,
500+ slots_smallest_skipped : z . number ( ) . array ( ) ,
501+ vals_smallest_skipped : z . coerce . bigint ( ) . array ( ) ,
502+ } ) ;
503+
477504export const slotSchema = z . discriminatedUnion ( "key" , [
478505 slotTopicSchema . extend ( {
479506 key : z . literal ( "skipped_history" ) ,
@@ -487,6 +514,10 @@ export const slotSchema = z.discriminatedUnion("key", [
487514 key : z . literal ( "query" ) ,
488515 value : slotResponseSchema . nullable ( ) ,
489516 } ) ,
517+ slotTopicSchema . extend ( {
518+ key : z . literal ( "query_rankings" ) ,
519+ value : slotRankingsSchema ,
520+ } ) ,
490521] ) ;
491522
492523export const blockEngineStatusSchema = z . enum ( [
0 commit comments