near-api-js - v7.0.4
    Preparing search index...

    Type Alias CurrentEpochValidatorInfo

    Describes information about the current epoch validator

    type CurrentEpochValidatorInfo = {
        account_id: AccountId;
        is_slashed: boolean;
        num_expected_blocks: number;
        num_expected_chunks?: number;
        num_expected_chunks_per_shard?: number[];
        num_expected_endorsements?: number;
        num_expected_endorsements_per_shard?: number[];
        num_produced_blocks: number;
        num_produced_chunks?: number;
        num_produced_chunks_per_shard?: number[];
        num_produced_endorsements?: number;
        num_produced_endorsements_per_shard?: number[];
        public_key: PublicKey;
        shards: ShardId[];
        shards_endorsed?: ShardId[];
        stake: NearToken;
    }
    Index

    Properties

    account_id: AccountId
    is_slashed: boolean
    num_expected_blocks: number
    num_expected_chunks?: number
    num_expected_chunks_per_shard?: number[]

    Number of chunks this validator was expected to produce in each shard. Each entry in the array corresponds to the shard in the shards_produced array.

    num_expected_endorsements?: number
    num_expected_endorsements_per_shard?: number[]

    Number of chunks this validator was expected to validate and endorse in each shard. Each entry in the array corresponds to the shard in the shards_endorsed array.

    num_produced_blocks: number
    num_produced_chunks?: number
    num_produced_chunks_per_shard?: number[]
    num_produced_endorsements?: number
    num_produced_endorsements_per_shard?: number[]
    public_key: PublicKey
    shards: ShardId[]

    Shards this validator is assigned to as chunk producer in the current epoch.

    shards_endorsed?: ShardId[]

    Shards this validator is assigned to as chunk validator in the current epoch.

    stake: NearToken