RelayData
MEV relay connection information for Proposer-Builder Separation (PBS).Overview
RelayData represents MEV relay connection information used in PBS. Relays act as trusted intermediaries between block builders and validators, ensuring builders cannot see validator signatures before block delivery.Type Definition (Zig)
Well-Known Relays
Usage
Create RelayData
Get API Endpoint
API Reference
Constructors
| Function | Description |
|---|---|
from(data) | Create from RelayDataLike object |
Methods
| Function | Description |
|---|---|
getEndpoint(relay, method) | Construct full API endpoint URL |
Constants
| Constant | Description |
|---|---|
MEV_RELAYS | Well-known relay endpoints |
MEV-Boost API Endpoints
Common relay API methods:| Endpoint | Description |
|---|---|
/eth/v1/builder/header | Request block header bid |
/eth/v1/builder/blinded_blocks | Submit blinded block |
/eth/v1/builder/status | Check relay status |
/relay/v1/data/bidtraces | Query bid traces |
Example: Request Block Header
PBS Flow
- Builder submits block bid to relay
- Relay forwards best header to proposer
- Proposer signs header (commits to block)
- Relay releases block to builder
- Builder sends full payload
- Relay forwards to proposer for broadcast
Relay Selection
Consider when selecting relays:- Censorship: Some relays filter transactions (OFAC compliance)
- Reputation: Relay uptime and reliability
- Diversity: Using multiple relays reduces centralization risk
- Geographic: Latency affects bid competitiveness

