Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Builder API

A standardized interface that allows block builders to submit block bids to validators or relayers in a Proposer-Builder Separation (PBS) architecture.
Chainscore © 2026
definition
BLOCKCHAIN INFRASTRUCTURE

What is Builder API?

A standardized interface for block builders to submit execution payloads to proposers in a proof-of-stake blockchain.

A Builder API is a standardized RESTful interface defined by the mev-boost protocol that enables block builders to submit complete, fee-optimized execution payloads to validators (proposers). This separation of block building from block proposing is a core component of proposer-builder separation (PBS), designed to decentralize Maximal Extractable Value (MEV) extraction and improve network efficiency. The API allows specialized builders, who aggregate and order transactions, to compete to have their block included by the winning validator for an epoch.

The technical flow begins when a validator, using middleware like mev-boost, queries connected builders via the Builder API's getHeader endpoint. Builders respond with a block header and a commitment to pay the validator a fee (the bid). The validator selects the most profitable header and signs a commitment. Later, via the getPayload endpoint, the validator requests the full block body corresponding to the chosen header, which it then proposes to the network. This ensures the validator never sees the transaction order until after commitment, mitigating certain MEV-related risks.

Key endpoints of the Builder API include status, registerValidator, getHeader, and `getPayload**, which facilitate the auction mechanism for block space. Builders use sophisticated algorithms to construct blocks by including MEV opportunities—such as arbitrage and liquidations—bundled by searchers, alongside regular user transactions. The winning builder's payload is cryptographically committed to in the header, ensuring the validator cannot steal the bundle or alter the block after seeing its contents.

The adoption of the Builder API, primarily on Ethereum following The Merge, has created a competitive marketplace for block production. This has led to increased validator rewards from MEV and improved network security. However, it has also raised concerns about builder centralization, as a small number of entities often win the majority of blocks. Ongoing protocol developments, like enshrined PBS (ePBS), aim to further decentralize this layer by moving the auction mechanism into the core consensus protocol itself.

how-it-works
MECHANISM

How the Builder API Works

An explanation of the technical architecture and operational flow of the Builder API, the core interface for block production in Ethereum's post-Merge ecosystem.

The Builder API is a standardized RESTful interface that allows specialized block builders to receive transaction bundles from users and submit complete, signed execution payloads to validators. It operates on a sealed-bid auction model, where builders compete by constructing the most valuable block possible—maximizing MEV (Maximal Extractable Value) and transaction fees—and submitting their block along with a bid to the validator. The validator, or a relay acting on its behalf, selects the highest-paying valid block to propose to the network. This separation of block building from proposal is the foundation of proposer-builder separation (PBS).

The workflow begins when a searcher or user submits a transaction bundle to a builder via the API's eth_sendBundle endpoint. The builder's complex optimization engine, often called the builder backend, then assembles these bundles with transactions from the public mempool. It simulates the block to calculate its total value, which includes standard gas fees and any extracted MEV. The builder cryptographically signs the completed block and submits it, along with a commitment to pay the validator (the bid), to a trusted relay using the eth_sendExecutionPayload endpoint. The relay validates the block's contents and the bid before making it available to validators.

Validators access these competing blocks through a separate proposer API, typically provided by the same relay. Using the eth_getPayload endpoint, the validator's consensus client requests the block header for the current slot. The relay returns the header of the highest-bid, valid block from its builder auction. The validator signs this header, committing to propose the associated full block, and receives the full execution payload from the relay to broadcast to the network. The builder's payment to the validator is often facilitated through the relay's payment contract on Ethereum.

This architecture creates distinct market roles: builders compete on capital and optimization skill, relays ensure censorship resistance and validity, and proposers (validators) simply select the highest reward. Key technical specifications for the Builder API are defined in Ethereum's Engine API and the community-driven builder-specs repository. The system is designed to be permissionless for builders, though in practice, validator software often integrates with a curated list of reputable relays to mitigate security risks.

The Builder API's primary impact is the professionalization of block production. By outsourcing construction to competitive, specialized entities, it aims to democratize MEV access, improve network efficiency, and reduce the computational burden and ethical risk on individual validators. However, it also introduces centralization pressures around dominant builder and relay services, an active area of protocol development with solutions like enshrined PBS being researched for future Ethereum upgrades.

key-features
BUILDER API

Key Features of the Builder API

The Builder API is a specialized interface that allows users to construct, simulate, and submit transactions directly to a network of specialized block builders, bypassing the public mempool. This glossary defines its core components and operational mechanics.

01

Transaction Simulation

The API allows users to simulate transactions before submission to verify outcomes and estimate costs. This involves running the transaction logic against a local or remote node's state to check for reverts, calculate precise gas usage, and determine final state changes without broadcasting to the network.

02

Direct Builder Submission

Transactions are sent directly to a curated network of block builders rather than the public mempool. This method, often called a private transaction or direct-to-builder flow, aims to reduce front-running and MEV extraction by limiting visibility. Builders compete to include the transaction in the next block.

03

Bundle Construction

Users can package multiple transactions into an atomic bundle. The Builder API provides tools to define bundle semantics, ensuring all transactions in the bundle either succeed or fail together. This is critical for complex DeFi arbitrage or liquidations that require multiple steps to be executed in a single block.

04

Backrun Protection

A core feature that allows users to specify conditions to prevent sandwich attacks. By defining constraints like maximum slippage tolerance or a minimum output amount, the API instructs builders to only include the transaction if these conditions are met at execution time, protecting against predatory MEV.

05

Priority Fee Auction

The API facilitates a first-price auction where users bid for block space by specifying a priority fee (tip). Builders select transactions and bundles based on these fees to maximize their revenue. The API may provide fee estimation tools to help users optimize their bids for timely inclusion.

06

MEV-Share & Orderflow Auctions

Advanced APIs implement MEV-Share protocols, which allow users to auction their transaction orderflow. Builders and searchers bid for the right to backrun a user's transaction with profitable arbitrage, with a portion of the extracted value returned to the user as a rebate.

visual-explainer
MECHANISM OVERVIEW

Visualizing the Builder API Flow

A step-by-step breakdown of the transaction lifecycle from user submission to block inclusion via the Builder API, a core component of the Proposer-Builder Separation (PBS) architecture.

The Builder API flow begins when a user signs and broadcasts a transaction to the network. Instead of being sent directly to a validator (or proposer), the transaction is routed to a specialized entity known as a block builder. Builders aggregate transactions from the public mempool and private order flows, constructing optimized execution payloads—candidate blocks designed to maximize revenue through transaction fees and MEV (Maximal Extractable Value) extraction strategies. This process is facilitated by the Builder API endpoint, which builders operate to receive bundles and bids.

Once a builder has assembled a candidate block, it submits a sealed bid to a relay. The bid contains the execution payload and a commitment to pay the validator (proposer) a specified amount for including it. The relay, acting as a trusted intermediary, validates the bid's correctness—checking fee payments, execution state, and compliance with consensus rules—and maintains a censorship-resistant marketplace. It then exposes this validated block data to validators via a separate proposer API, presenting them with the most profitable options.

The final stage occurs when a validator is selected to propose the next block. The validator's consensus client queries connected relays via the proposer API to receive the header of the highest-bidding, valid payload. The validator signs this header, committing to the block, and receives the builder's payment. The relay then reveals the full execution payload to the validator, who publishes it to the network. This flow decouples block construction from proposal, enhancing network efficiency and enabling specialized, competitive markets for block space.

ecosystem-usage
BUILDER API

Ecosystem Usage & Implementations

The Builder API is a standardized interface that allows users (searchers, validators, applications) to submit transaction bundles directly to block builders, enabling advanced transaction ordering strategies like MEV extraction and front-running protection.

security-considerations
BUILDER API

Security & Trust Considerations

The Builder API introduces a new trust model for block production, shifting critical responsibilities from validators to specialized block builders. This section details the security implications and trust assumptions inherent to this architecture.

01

Trusted Third-Party Relays

Builders submit their blocks to a relay, which acts as a trusted intermediary between builders and validators (proposers). The relay's role is critical for:

  • Censorship resistance: Ensuring all valid bids are seen by the proposer.
  • Bid privacy: Preventing front-running by hiding bid details until the auction closes.
  • Bid validation: Verifying the correctness and profitability of blocks before they are proposed.

A malicious or faulty relay can undermine the entire system by censoring builders, leaking bids, or delivering invalid blocks.

02

Proposer-Builder Separation (PBS)

PBS is the core architectural principle that enforces a separation of duties to mitigate validator centralization and MEV extraction risks.

  • Validator Role (Proposer): Selects the most profitable header from a relay, without seeing the block's contents. They are trusted to follow the protocol.
  • Builder Role: Constructs full blocks, including ordering transactions and extracting MEV. They are trusted to create valid, profitable blocks.

This separation prevents validators from being forced to run complex, centralized MEV infrastructure, but it creates a new class of trusted actors—the builders.

03

Builder Centralization Risks

Block building is computationally intensive, favoring specialized, well-capitalized entities. This leads to centralization risks:

  • Oligopoly of Builders: A small number of dominant builders could control most block production.
  • Censorship: A centralized builder set could systematically exclude certain transactions or addresses.
  • MEV Cartels: Builders could collude to extract maximum value from users, reducing chain efficiency.

Mitigations include permissionless builder entry and decentralized builder networks, but the economic incentives currently favor centralization.

04

MEV-Boost & Out-of-Protocol Trust

MEV-Boost is the dominant implementation of PBS, operating as an out-of-protocol middleware. This introduces specific trust assumptions:

  • Proposer Trust: The validator must trust the MEV-Boost software and its configured relays.
  • Relay Trust: The validator trusts the relay to deliver a valid block corresponding to the winning header.
  • Builder Trust: The validator trusts the winning builder to reveal a full block that matches the committed header.

A failure in any component can lead to proposer slashing or a missed block proposal.

05

Data Availability & Censorship

Builders are responsible for making transaction data available after a block is proposed. Key risks include:

  • Data Withholding: A malicious builder could withhold the block body after the header is proposed, making the block unusable.
  • Timing Attacks: Manipulating data release to disadvantage certain network participants.

Solutions like EIP-4844 (Proto-Danksharding) and Data Availability Sampling (DAS) aim to reduce this trust requirement by ensuring data is available and verifiable by light clients.

06

Enshrined PBS & Future Mitigations

The long-term goal is to move PBS in-protocol (enshrined) to reduce external trust. Potential designs include:

  • In-protocol Block Auction: A consensus-level mechanism for proposers to auction block space.
  • Builder Commitments: Cryptographic commitments that allow slashing builders for misbehavior.
  • Partial Block Auctions: Proposers build part of the block themselves, reducing builder power.

These enshrined solutions aim to preserve the benefits of specialization while minimizing trust in external parties and middleware.

PROTOCOL COMPARISON

Builder API vs. Traditional Block Production

A technical comparison of the key architectural and economic differences between the PBS (Proposer-Builder Separation) model via a Builder API and the legacy integrated block production model.

Feature / MetricBuilder API (PBS Model)Traditional Block Production

Architectural Model

Proposer-Builder Separation (PBS)

Integrated Proposer-Builder

Primary Actor

Specialized Block Builder

Validator / Miner

Transaction Ordering Authority

Builder

Validator / Miner

MEV Extraction Method

Via competitive builder auctions

Local search & private mempools

Revenue Flow

Builder profit -> Proposer payment (via relay) -> Validator

Validator/Miner captures all revenue

Block Submission Path

Builder -> Relay -> Proposer -> Beacon Chain

Validator/Miner -> Network

Required Infrastructure

Builder software, Relays, MEV-Boost client

Standard execution & consensus clients

Typical Block Proposal Latency

< 1 sec (pre-built, via relay)

~1-12 sec (built on proposal)

evolution
EVOLUTION & STANDARDIZATION

Builder API

The Builder API is a standardized interface that enables block builders to receive transaction bundles from searchers and propose complete blocks to validators, central to the post-Merge, Proposer-Builder Separation (PBS) ecosystem.

A Builder API is a RESTful HTTP specification that defines how searchers (or users) submit transaction bundles and how block builders communicate block proposals to validators (or proposers). Its creation was driven by the need for a common protocol after Ethereum's transition to Proof-of-Stake, which separated the roles of block building and proposal. This standardization, notably through efforts like the mev-boost relay architecture, prevents ecosystem fragmentation and allows validators to efficiently access blocks built by specialized, competitive builders from a permissionless marketplace.

The API's core function is to facilitate a sealed-bid auction for block space. Searchers submit bundles—ordered sets of transactions with conditional execution logic—to builders via the API endpoint eth_sendBundle. Builders then aggregate these bundles, along with transactions from the public mempool, to construct the most profitable block possible. They submit their complete block header and a fee bid to a relay using eth_sendBlindedBlock. The relay validates the block's contents and forwards the most lucrative, valid header to the validator, which only learns the full block contents after committing to it.

Key technical components include blinded blocks and commit-reveal schemes. When a validator receives a blinded block proposal via eth_getHeader, it sees only the block header and the associated bid, not the transactions inside. This prevents the validator from stealing the builder's work. Upon choosing a header, the validator signs a commitment and requests the full block body via eth_getPayload. This process enforces Proposer-Builder Separation (PBS) by design, limiting the validator's role to selection and attestation rather than construction.

The evolution of the Builder API is closely tied to MEV (Maximal Extractable Value) infrastructure. It enables complex MEV extraction strategies like arbitrage and liquidations by providing a private, ordered channel for searcher transactions. Builders can optimize for total value, which includes both the transaction fee bid and any MEV captured within the bundle. Standards like those maintained by the Flashbots collective ensure interoperability, allowing the network of builders, relays, and validators to function as a cohesive, efficient market for block production.

Looking forward, the Builder API represents a transitional design. While it successfully organizes the block building market off-chain, Ethereum's roadmap includes in-protocol Proposer-Builder Separation (ePBS) as a potential future upgrade. ePBS aims to bring the commitments and anti-censorship properties of the builder ecosystem directly into the core consensus protocol, reducing reliance on trusted off-chain relays and further decentralizing the block production process.

BUILDER API

Frequently Asked Questions (FAQ)

Common technical questions about the Builder API, a core component for accessing and submitting blocks to the Ethereum network.

A Builder API is a standardized interface that allows specialized block builders to submit complete, execution payloads to validators for inclusion in the Ethereum blockchain. It operates on a proposer-builder separation (PBS) model, where builders compete to construct the most valuable block by including transactions and MEV opportunities, then submit their block via the API to a relay, which forwards the most profitable option to the validator proposing the next block. This separation aims to democratize block building and reduce centralization risks.

Key Workflow:

  1. Builders aggregate transactions from the mempool and private order flows.
  2. They construct an optimized block, maximizing fees and MEV extraction.
  3. The block is submitted as a signed execution payload to a trusted relay via the Builder API.
  4. The relay validates the block and presents it to the validator (proposer).
  5. The validator selects the most profitable header and commits to adding the full block.
ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team