Type Alias BlockProduction

BlockProduction: Readonly<{
    byIdentity: Readonly<Record<string, ReadonlyArray<number>>>;
    range: Readonly<{
        firstSlot: number;
        lastSlot: number;
    }>;
}>

recent block production information

Type declaration

  • byIdentity: Readonly<Record<string, ReadonlyArray<number>>>

    a dictionary of validator identities, as base-58 encoded strings. Value is a two element array containing the number of leader slots and the number of blocks produced

  • range: Readonly<{
        firstSlot: number;
        lastSlot: number;
    }>

    Block production slot range