Skip to main content

Documentation/Block Builders/Customizing a Builder

Getting a Sequencer Signature

How to obtain a sequencer co-signature for your block using the Sequencer API.

Blocks must be cosigned by the Sequencer. The Sequencer blindly signs any number of candidate blocks for the current Builder via a simple API.

The Sequencer API accepts a SignRequest via a POST call to the /signBlock endpoint, and returns a SignResponse. For details on calculating the contents hash, see the rust builder example.

Slot Timing

Quincey follows a round-robin sequencing approach, allowing builders to request block signatures according to their spot in the rotation.

Each slot starts at the timestamp of the latest block and extends for 12 seconds. Sequencer requests must be made in the first 10 seconds of the builder’s assigned slot, as there is a 2 second buffer at the end of the slot to prevent timing games and ensure enough time for the submission process.

For this reason, the Builder defaults to a slightly longer 3 second cutoff at the end of its assigned slot, at which point it begins the signing and submission process for the block it built. See the deadline calculation code for deeper details.

API Endpoint

http
POST /signBlock
ESC

Start typing to search documentation...

Navigate Select ⌘K Open