Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Maker Integration

The maker API lets a PropAMM maker push quote updates to Bombora over a long-lived WebSocket. Each update carries a signed transaction to one of the maker's own contracts, valid for a single block. Cancellations use an empty transaction.

The frame schema is the same as Titan's /ws/sendquoteupdate, so a client built for Titan works here with a different endpoint and API key.

Onboarding

When maker access is granted, Bombora agrees with you:

  • Target contracts. The contracts your quote transactions may call: your oracle, pricing engine, the Priority Update Registry, or anything else your pools read prices from. Quotes to any other contract are rejected.
  • Freshness buffer. Optional. See Maker protection.
  • State stream consent. Whether your quotes are published on the public state stream.

Endpoint

NetworkRegionWebSocket endpoint
Ethereum MainnetGlobalwss://rpc.bombora.build/ws/sendquoteupdate
Ethereum MainnetEUwss://eu-rpc.bombora.build/ws/sendquoteupdate
Ethereum MainnetUSwss://us-rpc.bombora.build/ws/sendquoteupdate
Ethereum MainnetAPwss://ap-rpc.bombora.build/ws/sendquoteupdate

Authentication

Present your API key in the Authorization header of the WebSocket upgrade request:

Authorization: <api-key>

A Bearer prefix is accepted. A connection without a valid key is rejected with HTTP 401.

Request

Requests and responses are protobuf-encoded binary WebSocket messages, at most 64 KiB each. Text messages are ignored.

message PWebsocketQuoteUpdateV1Args {
  bytes tx = 1;
  uint64 block_number = 2;
  bytes replacement_uuid = 3;
  uint64 replacement_seq_number = 4;
  bool disable_cross_region_sharing = 5;
  repeated bytes asset_pairs = 6;
  bytes quote_address = 7;
  repeated bytes pool_addresses = 8;
}

Parameters

ParameterDescription
txRLP-encoded signed transaction bytes (EIP-2718 envelope). Empty cancels the replacement_uuid.
block_numberThe single block this update is valid for.
replacement_uuidQuote identifier, as the UUID's raw 16 bytes rather than its hyphenated string form.
replacement_seq_numberStrictly increasing per UUID within a block. Must be greater than zero.
disable_cross_region_sharingIf true, the update is not shared between builder regions.
asset_pairsQuoted pairs, each encoded as two concatenated 20-byte token addresses, in either order. May be empty on a cancellation.
quote_addressAddress a taker trades through to use this quote, encoded as a 20-byte address. Required on a quote, and may be empty on a cancellation. Also the key for this quote on the state stream.
pool_addressesAdditional contracts that pay out trades using this quote, each encoded as a 20-byte address. Optional.

Quote transaction

tx can be any signed transaction to one of your agreed target contracts. It must have a to address.

The quote is an ordinary transaction once it is in the block. It pays its own gas, its max_fee_per_gas must cover the block's base fee, and its nonce and balance must be valid at the point it is placed. Bombora does not require a minimum priority fee.

If you send several quotes for the same block from one sender, they can fail on nonce ordering. Send concurrent quote streams from separate senders, or combine their writes into one transaction.

Declaring a quote

Bombora uses quote_address, asset_pairs and pool_addresses to pair your quote with the trades that depend on it. Declare every pair the quote prices. A trade is paired with the quote only when one of your declared addresses, quote_address or a pool_addresses entry, pays out a token of a declared pair. pool_addresses is only needed when a contract other than quote_address makes that payout.

A quote that reverts, writes no storage, or targets a block other than the next one is not used.

Regions

Connect to the region nearest you.

Bombora does not forward quote updates to other builders. Updates are shared between Bombora regions unless disable_cross_region_sharing is set. Each region checks that flag again when an update arrives.

Maker protection

When a block is built, Bombora applies the most recent quote it has received and places it just before the trade that uses it. A quote still in flight at that moment cannot be applied, so what lands is the freshest update Bombora had received, not necessarily the latest the maker has sent.

To protect makers from takers racing them, a maker can opt in to a freshness buffer, agreed individually during onboarding. With one in place, a trade is only eligible against a quote received more than the buffer after the trade:

taker_received_at + freshness_buffer < quote_received_at

With a 50 ms buffer, a quote received at time T is paired only with trades received before T - 50 ms. A trade that does not clear the buffer is not included against your pool at all, neither with the fresher quote nor against the older onchain price. This reduces exposure to stale-quote sniping and quote-stream interruptions.

Timing is judged entirely on receive times observed by Bombora's own infrastructure. Timestamps supplied by makers or takers are never used for this.

Conditional inclusion

Quote updates land only when a matching, freshness-eligible taker is included, just before that taker. Updates without a matching taker do not go onchain. A quote applied once in a block is not repeated. Later takers in the same block can land anywhere after it and trade against it as it stands.

A matched quote is submitted as part of the block. The proposer may still select a competing builder's block, so submission is the last step Bombora controls.

Replacement

To update a quote, reuse its replacement_uuid, keep the same block_number, and use a higher replacement_seq_number.

For example:

uuid A, block 25,000,001, seq 1  → initial update
uuid A, block 25,000,001, seq 2  → replaces seq 1
uuid A, block 25,000,001, seq 3  → replaces seq 2
uuid A, block 25,000,002, seq 1  → valid reset for the next block

A stale or duplicate sequence cannot replace a newer version. Use a separate UUID for an independent update stream.

Resending the same transaction under a higher sequence refreshes its receive time without changing the quote. Use this to keep a quote fresh against your freshness buffer when the price has not moved.

Cancellation

Send a request with:

  • the same replacement_uuid
  • the relevant block_number
  • a sequence higher than the latest update
  • an empty tx

asset_pairs, quote_address and pool_addresses may be empty on a cancellation.

Response

Every frame is acknowledged on receipt.

message PWebsocketQuoteUpdateV1Response {
  bytes replacement_uuid = 1;
  uint64 replacement_seq_number = 2;
  uint64 timestamp = 3;
  string error = 4;
}
FieldDescription
replacement_uuidQuote identifier being acknowledged.
replacement_seq_numberSequence number being acknowledged.
timestampTime Bombora received the frame, in Unix nanoseconds.
errorEmpty on acceptance, and set when the frame was rejected.

Match responses to requests using (replacement_uuid, replacement_seq_number).

An acceptance means the frame passed admission and was forwarded to the builders. It does not mean the quote was applied: a stale sequence, a past block, or a quote that reverts is discarded later without a further response.