Getting a Sequencer Signature

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 acceps a SignRequestarrow-up-right via a POST call to the /signBlock endpoint, and returns a SignResponsearrow-up-right. For details on calculating the contents hash, see the rust builder examplearrow-up-right.

triangle-exclamation

Obtain a signature for a new Signet block

post

Obtain a signature for a new Signet block.

Body
host_block_numberstringRequired

The block number of the host formatted as a 0x-prefixed minimal hex string.

host_chain_idstringRequired

The chain ID of the host formatted as a 0x-prefixed minimal hex string.

ru_chain_idstringRequired

The chain ID of the rollup formatted as a 0x-prefixed minimal hex string.

gas_limitstringRequired

The gas limit of the rollup block formatted as a 0x-prefixed minimal hex string.

ru_reward_addressstringRequired

The reward address on the rollup for the builder formatted as a 0x-prefixed minimal hex string.

contentsstringRequired

keccak256 hash of rlp-encoded transactions in the block formatted as a 0x-prefixed minimal hex string.

Responses
chevron-right
200

A JSON SignResponse

application/json
post
/signBlock
200

A JSON SignResponse

Last updated