Builder Integration
This document outlines the key aspects of integrating with TitanRelay, a high-performance MEV-Boost relay. It supports standard APIs with a few enhancements for improved functionality and performance.
Get Validators
We've added a "preferences" field to validator submissions, enabling relay-level PEPC (Protocol Enforced Proposer Commitments). Currently, we support two preferences:
filtering
: The relay supports both filtering and non-filtering proposers under a single URL. Filtering is now per-proposer instead of per-relay.trusted_builders
: When signing up for optimistic relaying, you'll receive a BuilderID (e.g., "Titan"). Proposers can specify to only accept blocks from certain builders.
Optimistic Relaying
Optimistic V1:
We support standard optimistic v1 relaying with up to 64 ETH collateral. See the Optimistic Relaying page for more details.
Optimistic V2:
We also support OptimisticV2 submissions. If enabled for v1, you can submit to our v2 endpoints. OptimisticV2 decouples the lightweight header from the heavier payload, allowing for faster processing. See the original proposal here.
To send a block submission with OptimisticV2, you will need to call these two new endpoints:
builder/headers:
Contains the header and signed bid trace.builder/blocks_optimistic_v2:
The submission struct is identical to the block submitted with the currentbuilder/blocks
endpoint.
We recommend submitting v2 alongside normal block submissions for extra redundancy and because v2 is still in the testing phase. We often over-demote so it’s best if you use separate pubkeys to mitigate the impact of incorrect demotions.
Alongside changing the submission endpoints, you must also manually track your collateral to guarantee it covers the block value and ensure a valid full block is received within 2 seconds of a valid header submission to avoid demotion.
Websocket TopBid Stream
We provide a websocket stream at the endpoint builder/top_bid
that sends real-time updates whenever a new top bid is received by the relay. Each time a new best bid is processed, a message containing the updated bid information will be pushed to connected clients. Authentication for this stream is done using an X-api-key
header.
The structure of the TopBidUpdate
message is as follows:
Relay Locations
NV:
us-east-1
FR:
eu-central-1
TK:
ap-northeast-1
SG:
ap-southeast-1
Testing
We have a full production cluster running on the Holesky testnet. holesky.titanrelay.xyz
Last updated