Skip to content

Allow queries for multiple validators for a given epoch in the validator_inclusion API call #1857

Open
@petclippy

Description

@petclippy

The current API call to get information about attestation behavior for a validator at a given epoch, /lighthouse/validator_inclusion/{epoch}/{validator_id} is limited to a single validator_id. Earlier versions of the lighthouse API allowed a query to contain multiple validator_id's, which is useful to extract data about attestation behavior.

The simplest solution would be to introduce a "/lighthouse/validator_inclusion/{epoch}/all" that returns the attestation behavior for all validators for a given epoch. Alternatively, a request body could be allowed that contains an epoch and a set of multiple validator id's, similar to the previous API.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions