ultra sound relay docs

Gloas builder API

Ultra Sound relay — draft 2026-10-20. Companion to the auction design.

How to submit blocks to the Ultra Sound relay on a Gloas (ePBS) network, and how to test on glamsterdam-devnet-8 today. Everything not mentioned here works as pre-ePBS (builders).

1. Endpoints and auth

Devnet host: https://relay-plataberget.ultrasound.money (Hoodi and mainnet hosts stay as they are after their forks).

Method / pathPurpose
GET /relay/v1/builder/validatorsLookahead: upcoming proposers with their effective preferences (fee recipient, gas limit, filtering, max_execution_payment when they accept trusted bids)
GET /ultrasound/v1/builder/bid_caps[?slot=N]Stake caps for trustless bids: the relay's available stake; with your X-Api-Token, your mapped wallets' too
POST /relay/v1/builder/blocks[?cancellations=1][&adjustments=1]Block submission (Gloas format from the fork slot on)
GET /relay/v1/data/bidtraces/builder_blocks_received?slot=NWhat we received and whether it simulated (v2: ns timestamps)
GET /ws/v1/top_bid, /ws/v2/top_bidTop-bid websocket, unchanged
GET /ultrasound/v1/auction/ip_testConnectivity check

2. Bid types and payment

X-Bid-Type selects who pays the proposer and whose stake backs the on-chain bid. Missing header = trusted.

X-Bid-TypeYou put in the payloadRelay wraps asProposer paid byNeeds
trustedPayment to proposer_fee_recipient, as pre-ePBSvalue = 0, execution_payment = value / 1e9You, in the payloadA proposer who accepts execution payments (a cap in their preferences); simulated unless you are optimistic
trustless-fullPayment of message.value to the relay walletvalue = value / 1e9, relay identityRelay, from its CL stakeNothing on-chain from you. Start here.
trustless-partialNothingvalue = value / 1e9, your identityYou, from your CL builder stakeA Gloas builder deposit + a mapping submission pubkey → staked pubkey on our side (ask us)
native———Not accepted yet
{"slot":445208,"state_slot":445206,
 "relay":{"builder_index":12057,"pubkey":"0x8c9a…e63eb","available_stake_gwei":581437039407},
 "mapped_wallets":[{"builder_pubkey":"0x…","builder_index":2,"pubkey":"0x…","available_stake_gwei":16141800000}]}

3. Submission format

POST /relay/v1/builder/blocks with Content-Type: application/json or application/octet-stream (SSZ) and Eth-Consensus-Version: gloas. The header selects the Gloas format as it selects every other fork's; without it the slot (message.trace.slot; first 8 LE bytes in SSZ) decides from the fork slot on. A header that disagrees with the slot is rejected. JSON rejects unknown fields.

SignedBidSubmissionGloas {
  message: GloasBidTrace {
    trace:              BidTrace          // unchanged (slot, hashes, pubkeys,
                                          // fee recipient, gas, value)
    parent_block_root:  bytes32           // EIP-4788 parent beacon block root the
                                          // payload builds on
  }
  execution_payload:    ExecutionPayload  // consensus gloas shape: the deneb fields, then
                                          //   block_access_list: bytes   EIP-7928 RLP from
                                          //                              your EL; hex in JSON
                                          //   slot_number:       uint64  = message.trace.slot
  blobs_bundle:         BlobsBundle       // 128 cell proofs per blob; bodies required
  execution_requests:   ExecutionRequests // deposits, withdrawals, consolidations,
                                          // builder_deposits, builder_exits (EIP-8282)
  signature:            BLS               // over hash_tree_root(message), builder domain
}

Dehydrated submissions (X-Hydrate)

Send X-Hydrate: true with your X-Api-Token to reference transactions, blobs and block access list entries already sent in the same slot. The container is the one above with a dehydrated execution_payload and blobs_bundle; SSZ or JSON, ?adjustments=1 appends adjustment_data as usual.

DehydratedSignedBidSubmissionGloas {
  message:              GloasBidTrace               // as above
  execution_payload:    DehydratedExecutionPayload  // the gloas payload, except:
                                                    //   transactions: each full bytes, or its
                                                    //     8-byte key (see below)
                                                    //   block_access_list: DehydratedBlockAccessList
  blobs_bundle:         DehydratedBlobsBundle
  execution_requests:   ExecutionRequests
  signature:            BLS                         // over hash_tree_root(message), as above
}

DehydratedBlockAccessList {
  refs:       List[bytes32]  // keccak256 of each raw RLP AccountChanges item, in list order
  new_items:  List[bytes]    // the raw items not sent yet this slot, in the same order
}

DehydratedBlobsBundle {
  commitments:  List[KzgCommitment]  // every blob of the block
  new_items:    List[BlobItem]       // blobs not sent yet: {proof: List[KzgProof] (128 cell
                                     // proofs), commitment, blob}
}

Adjustments

?adjustments=1 with an adjustment_data object as the last field, exactly as in bid adjustment: same placeholder (last tx, payment forwarder call, full bid in value), same proofs. Trusted bids only; trustless bids need no data and are adjusted by lowering the on-chain value. The relay rebuilds the adjusted block itself, including the block access list and the EIP-7708 transfer logs — nothing new for you to provide. Accounting is unchanged (50/50 of the landed delta).

4. Timing and lifecycle

5. Responses

200 {"code":200,"message":"OK"} with X-Simulation-Mode: pessimistic|optimistic|skipped; 202 below floor, stored unsimulated. Rejections:

Status / messageMeaning
400 invalid x-bid-type header, expected one of: ...Not one of the four types
400 bid type not supported yetnative
400 mergeable submissions are not supported for gloas slotsDrop X-Mergeable
401 dehydrated submissions require an api tokenX-Hydrate without X-Api-Token
400 hydration: unknown tx hash at index N / unknown blob commitment … at index N / unknown block access list entry … at index NCache miss: clear what you sent, resend in full
400 hydration: invalid tx length … / too many … / undecodable block access list: …Malformed dehydrated submission
400 builder_pubkey does not match authenticated identityX-Hydrate for a pubkey not owned by your token
400 adjustable submissions must be trusted bids, got ...?adjustments=1 on a trustless bid
400 invalid eth-consensus-version header. expected one of: ...Unknown Eth-Consensus-Version
400 gloas submissions are not enabledgloas header on a relay without the fork configured
400 invalid block submission version, expected gloas (or expected fulu)Eth-Consensus-Version disagrees with the slot: pre-Gloas header on a Gloas slot, or gloas before the fork
400 failed to parse gloas json/ssz payload: ...Shape error; JSON rejects unknown fields
400 slot_number N does not match message.slot Mexecution_payload.slot_number disagrees with message.trace.slot
400 signature verification failedSignature not over hash_tree_root(message) (trace + parent_block_root)
400 blob bodies are required / expected 128 cell proofs per blob
400 unknown parent beacon block rootNot the root announced for (slot, parent_hash)
400 could not find slot duty / proposer pubkey does not match slot duty / fee recipient mismatchLookahead mismatch
400 no proposer preferences for slotProposer never published preferences
400 proposer does not accept trusted bidsTrusted bid, proposer without execution-payment cap
400 bid value exceeds relay available staketrustless-full above our spendable stake net of in-flight bids
400 no gloas wallet mapped for builder / mapped gloas wallet not active / bid value exceeds spendable staketrustless-partial without (sufficient) mapped stake
400 submission for past slot / already using a newer payloadToo late / superseded
400 <simulator message>Simulation failed: payment, gas limit, block access list hash, state root, ...
401 invalid api tokenUnknown X-Api-Token
429Rate limit (see §1)
500Relay-side error; retry, tell us if persistent

6. Checking what happened

7. Not supported yet, in planned order

  1. Header-only (v3) submissions — must carry the block access list to stay adjustable.
  2. Block merging.
  3. Native ePBS bids — depends on builder interest, see the design doc.

8. Devnet quick start (glamsterdam-devnet-8)

Relayhttps://relay-plataberget.ultrasound.money
Chain id7091047534
Gloas forkEpoch 1536 = slot 49152
Gas limit200M, announced per proposer in the lookahead
Config / checkpoint / explorerhttps://config.glamsterdam-devnet-8.ethpandaops.io · https://checkpoint-sync.glamsterdam-devnet-8.ethpandaops.io · https://dora.glamsterdam-devnet-8.ethpandaops.io
Clientsethpandaops/{reth,lighthouse}:glamsterdam-devnet-8
  1. Point your builder at the relay host with your Hoodi X-Api-Token.
  2. Submit trustless-full bids: pay message.value to the relay wallet in the last tx, keep proposer_fee_recipient as announced.
  3. Watch builder_blocks_received and Dora. Roughly 1 in 16–20 slots has a proposer that pulls bids over the builder API; the rest are decided on p2p, where our test builder competes with lowball bids.
  4. Ask us for optimistic status, a pubkey mapping (trustless-partial) or an adjustment wallet (trusted + adjustments) when you want those paths.

Questions and feedback: @ultrasoundrelay.