Priority updates
A priority update is a transaction that BuilderNet includes ahead of other transactions accessing the same state. Market makers use priority updates to run propAMMs (proprietary AMMs): onchain pools whose quotes are refreshed offchain many times per slot. The builder guarantees that takers trade against the freshest posted quote that the builder has received.
Priority update transactions must post data through the Priority Update Registry, which scopes the state an update can write. We make exceptions in special circumstances.
These updates can be configured in one of two modes:
- Conditional: the update lands only if a transaction consuming it is also included in the same block, so the maker pays gas only on fills. Conditional updates are not guaranteed to be at the top of the block. This is the main way to use priority updates.
- Top-of-block: the update lands at the top of the next block, unconditionally. The maker pays gas every block the update lands.
The implementation is new and exact behaviour is subject to change. Feedback welcome.
When multiple updates for the same state are available at the time a block is built, the builder prioritises the latest update. An update expires after 1 second, so a maker refreshes its quotes continuously.
The mode is set per API key. This requirement may be dropped in future. Updaters needing both modes can request multiple keys.
Reach out to get API keys (see How to participate).
Pricing
Priority update transactions pay no priority fees. Makers pay a fee of 0.1 bps on the volume that their quotes fill in BuilderNet blocks.
Taker speed bump
A taker transaction that touches the state of a conditional priority update is only eligible for inclusion once the builder has held it for at least 50 ms. State that a top-of-block update writes is exempt. The builder delays the taker's transaction, not your updates. This protects makers from takers attempting to snipe stale quotes.
How conditional inclusion works
Each maker registers one or more event signatures (a contract address and an event topic) that identify the event their pool emits when a swap consumes a quote. A conditional update is included only when a transaction in the block emits a matching log.
What this means for integrators:
- Makers: register your consumption events when your conditional API key is provisioned. The builder uses them to confirm that a swap consumed your quote. If no event is registered for you, the builder includes an update whenever a transaction reads its state. We plan to upgrade the event registration flow soon.
- Pool authors: emit a distinct event on the fill path, not in view or quote paths.
- Takers and routers: nothing. Consumption is detected from the fill's logs automatically.