Skip to main content
The builderLiquidations channel is a GoldRush-native stream of liquidation fills attributed to a specific builder code. Attribution follows the liquidated user’s last fill before liquidation: when that fill carried your builder code, the liquidation is emitted on your stream. Think of it as the intersection of liquidationFills and builderFills: you only receive liquidations attributed to your builder address, with the builder and liquidation metadata populated on every entry. Use it to monitor liquidations across your builder’s order flow without filtering the global stream yourself.
builderLiquidations requires a builder address; there’s no wildcard subscription. It’s billed at 1 credit/min (5,000 CU/min), the same rate as the other account streams. See pricing.

Subscribe

A missing or malformed builder field returns an error message on the error channel:

Message format

Unlike the other channels on this connection, builderLiquidations messages keep the upstream wire shape and are not wrapped in the channel/data envelope: match on msg.type === "builderLiquidations" rather than msg.channel.
Each message carries an array of [address, fill] tuples, where the address is the liquidated wallet and the fill is the liquidation attributed to your builder:
Fills follow the standard Hyperliquid fill shape (coin, px, sz, side, time, dir, closedPnl, and so on), extended with the fields that make this stream useful:
TWAP fills don’t carry builder codes. If a user’s last fill before liquidation was a TWAP fill, no builder liquidation is emitted for it.

When to use builder liquidations

Reach for builderLiquidations

Monitoring liquidations across your builder’s order flow: alerting your users when their positions are force-closed, or auditing liquidation outcomes per DEX.

Reach for liquidationFills instead

You want every liquidation on the venue regardless of builder attribution; the global stream costs the same and needs no builder address.

Pair with other streams

builderLiquidations tells you which of your builder’s positions were force-closed; the surrounding channels fill in the rest:
  • builderFills: every fill attributed to your builder, not just liquidations.
  • liquidationFills: the global liquidation stream across all builders.
  • userFills / orderUpdates: per-wallet fills and order lifecycle events.
See the full list in the WebSocket overview.