Skip to content

Add SSZ response support for validator_balances endpoints - #10082

Open
SamAg19 wants to merge 4 commits into
sigp:unstablefrom
SamAg19:validator-balances-ssz
Open

SamAg19 wants to merge 4 commits into
sigp:unstablefrom
SamAg19:validator-balances-ssz

Conversation

@SamAg19

@SamAg19 SamAg19 commented Sep 18, 2026

Copy link
Copy Markdown

Issue Addressed

Addressed the following item in the checklist #9045

  • SSZ response for POST /eth/v1/beacon/states/{state_id}/validator_balances

Not part of the checklist but implemented:

  • SSZ response for GET /eth/v1/beacon/states/{state_id}/validator_balances

Proposed Changes

  • Add Accept header handling to the GET and POST validator_balances routes, allowing us to add SSZ response support where if the Accept header is SSZ then we will return SSZ else we return JSON
  • Add get_beacon_states_validator_balances_ssz and post_beacon_states_validator_balances_ssz to BeaconNodeHttpClient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant