Overview
BuilderBid represents a block builder’s bid in Proposer-Builder Separation (PBS). Block builders compete through MEV-Boost relays to provide the most valuable block to validators, offering payment in exchange for block inclusion rights.API
from
Creates a BuilderBid from various input types. Accepts hex strings, Uint8Arrays, and numeric types.InvalidBuilderBidError if any field has invalid format or length.
getValue
Returns the bid value in wei.verify
Verifies the builder’s BLS signature on the bid. Requires a BLS verification function to be provided.toHex
Converts a BuilderBid to hex string format for RPC compatibility. Uses snake_case field names.Types
BuilderBidType
The structured builder bid object.BuilderBidLike
Flexible input type accepting hex strings and native types.BuilderBidHex
RPC-compatible hex format with snake_case field names.Errors
InvalidBuilderBidError
Thrown when bid construction or validation fails.- Invalid hash length (must be 32 bytes)
- Invalid BLS pubkey length (must be 48 bytes)
- Invalid signature length (must be 96 bytes)
- Invalid address length (must be 20 bytes)
- Non-object input
Field Sizes
| Field | Size | Description |
|---|---|---|
slot | 8 bytes | Beacon chain slot number |
parentHash | 32 bytes | Parent block hash |
blockHash | 32 bytes | Proposed block hash |
builderPubkey | 48 bytes | Builder BLS public key |
proposerPubkey | 48 bytes | Proposer BLS public key |
proposerFeeRecipient | 20 bytes | Ethereum address |
gasLimit | 32 bytes | Block gas limit |
gasUsed | 32 bytes | Actual gas consumed |
value | 32 bytes | Bid value in wei |
signature | 96 bytes | BLS signature |
See Also
- MEV-Boost Documentation
- Proposer-Builder Separation
- BLS12-381 - BLS signature cryptography
- Slot - Beacon chain slot type

