Skip to content

Validators API needs filtering #476

@tdenisenko

Description

@tdenisenko

When calling /eth/v1/beacon/states/head/validators?status=active over 1 gigabyte of data is returned. We need to be able to get only the fields requested for various reasons. Such as only the indexes of the active validators which would reduce the size of the data returned significantly (~4 KB).

Proposal:

Allow filtering by fields, such as /eth/v1/beacon/states/head/validators?status=active&fields=index,public_key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions