Skip to main content

Maker FAQ

How do I get an API key?​

Message the team in the BuilderNet Telegram group. The mode, conditional or top-of-block, is set per key. See Priority updates.

What do you need from me to start?​

Contact us on telegram to get an API key. For a conditional key, we normally ask you for a trigger: the contract that emits your fill event, and the topic of that event. You can register several triggers. See How conditional inclusion works.

I send one update for each pair. Do all of them land when one pair trades?​

No. The builder includes only the updates whose storage slots the taker's transaction reads. The registered event is a second check: the builder leaves the update out if the taker's transaction does not emit it.

My update did not land with the swap. What should I check?​

  • The update was more than 1 second old, so it had expired.
  • The swap runs out of gas when your update is applied, because its gas limit was estimated without the update.
  • The account that signs your updates has no ETH left for gas.
  • The error field of the response is set. It says why BuilderNet rejected the update.
  • Your pool or your fill event changed, and the new one is not registered.

Each response carries the time at which we received the update. If none of these explains it, send us the transaction hash.

What does it cost?​

A priority update pays no priority fee. You pay 0.1 bps on the volume that your quotes fill in BuilderNet blocks. See Pricing.

My updates are ignored after I reconnect. Why?​

The update had a lower sequence number than an earlier one. The builder keeps the highest replacement_seq_number it has seen for each replacement_uuid, and drops a lower one without an error. Use a value that only rises, such as a timestamp. The values do not have to be consecutive.

Are sequence numbers tracked per region?​

No. Each builder node tracks the highest sequence number that it has seen. An update that is shared from another region keeps its original number.

Should I send to the global endpoint or to every region?​

The global endpoint sends your update to the closest node, and that node shares it with the others if cross regional sharing is enabled. If you have a geographically distributed setup, we recommend submitting to each region directly as well as turning on cross region sharing so you get the best of our internal latency and your own.

Are my updates shared with other builders?​

No. Your update transactions go only to BuilderNet nodes. The nodes share them across regions, unless you set disable_cross_region_sharing. The state that your updates write appears on the public quote stream, unless you opt out of streaming.

I am changing my pool or pricing contract. Do I need to tell you?​

Yes, before you switch. Conditional inclusion matches the consumption events registered for your key, and the registration names your contract. Updates for a contract that is not registered are rejected with recipient not allowed. If your fill event changes, send us the new event signature before you deploy, and emit both events during the switch. We will move to an automated system soon.

Is there a rate limit on the update connection?​

Yes. The limits per IP address on new and concurrent connections apply to the WebSocket connection too.