Skip to content

Builder Api to construct payload envelope#584

Open
bharath-123 wants to merge 8 commits intoethereum:masterfrom
bharath-123:get-payload-envelope-builder
Open

Builder Api to construct payload envelope#584
bharath-123 wants to merge 8 commits intoethereum:masterfrom
bharath-123:get-payload-envelope-builder

Conversation

@bharath-123
Copy link
Contributor

@bharath-123 bharath-123 commented Mar 6, 2026

This PR attempts to resolve #575

We introduce a builder prefixed api called ConstructExecutionPayloadEnvelope which takes in the beacon block root of the given slot, execution payload and execution requests. It returns an ExecutionPayloadEnvelope which will have to be signed by the builder and published to the PTC.

@bharath-123 bharath-123 force-pushed the get-payload-envelope-builder branch from 4b114cc to 057e9ba Compare March 6, 2026 10:54
@bharath-123 bharath-123 marked this pull request as ready for review March 6, 2026 17:28
@bharath-123 bharath-123 force-pushed the get-payload-envelope-builder branch from 114e715 to e5eed30 Compare March 11, 2026 12:56
@potuz
Copy link

potuz commented Mar 11, 2026

Why does this endpoint need the full block? if it's just for verification it should need just the bid, payload and requests, isn't it?

@nflaig nflaig added the Gloas api's needed in Gloas fork. label Mar 11, 2026
@bharath-123 bharath-123 changed the title Builder Apis to construct and publish payload envelope Builder Apis to construct payload envelope Mar 12, 2026
@bharath-123
Copy link
Contributor Author

Why does this endpoint need the full block? if it's just for verification it should need just the bid, payload and requests, isn't it?

Not sure what you mean by verification here.

This endpoint is for the builders to construct the full ExecutionPayloadEnvelope with the post beacon state root if their bid gets included in the block. I think the beacon block root would be required to construct the correct envelope corresponding to the beacon block.

The builder can sign the envelope externally.

I think passing the beacon block root, payload and execution requests should be good?

@bharath-123 bharath-123 changed the title Builder Apis to construct payload envelope Builder Api to construct payload envelope Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gloas api's needed in Gloas fork.

3 participants