-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Description
Currently getStateV2 /eth/v2/debug/beacon/states/{state_id} returns the full beacon state which is heavy in response size +800MB ~ 1GB.
There are scenarios that the consumer is only interested in partial parts of the state, but still had to fetch the full beacon state which puts load on the beacon node to stream this response and also on the consumer itself to fetch and parse it.
I would like to propose a getStateV3 where we can pass a filter param to only retrieve a selected set of higher level fields from the state /eth/v2/debug/beacon/states/{state_id}?filter=nextWithdrawalValidatorIndex, totalActiveBalanceIncrements, pendingDepositBalanceToConsume` ...
With this approach we lower the barrier on accessing to the beacon state.
Metadata
Metadata
Assignees
Labels
No labels