ethereum / ethereum/beacon-APIs

Gloas: Add endpoint for builder_pending_withdrawals, builder_pending_payments

Open
#636 2 comments 0 reactions 0 assignees View on GitHub
Gloas
Dominant language
HTML
Stars
389
Forks
224
Avg merge
8h 29m
Merged PRs (30d)
3

Description

Builders are expected to have a small total size, so querying a state object with ~1MM validators is very inefficient.

We already have [types/gloas/builder.yaml](https://github.com/ethereum/beacon-APIs/blob/master/types/gloas/builder.yaml) covered by [/api/v1/beacon/states/{}](https://github.com/ethereum/beacon-APIs/blob/master/apis/beacon/states/builders.yaml) which has a response containing the fields of a builder (pubkey, version, execution_address, balance, deposit_epoch, withdrawable_epoch), but not details on external state related details such as pending withdrawals and payments.

Apologies if there's a reasonable alternative to querying debug/state, and I have missed it

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing types/gloas/builder.yaml with apis/beacon/states/builders.yaml and the existing /api/v1/beacon/states/{} response. Determine the endpoint paths and response fields needed for builder_pending_withdrawals and builder_pending_payments, then document them in the appropriate API and type specifications; done means the proposed endpoints and schemas are clear and consistent with the existing builder API.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, yaml
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.