Skip to main content
Helpful?

Signed Order Webhook Notifications

Signed open orders can always be fetched via the UniswapX API, but to provide improved latency there is the option to register for webhook notifications. Fillers can register an endpoint and receive notifications for every newly posted order that matches their desired filter.

Notifications

Order notifications will be sent to the registered endpoint as http requests from the ip 3.14.56.90. The structure of the requests is as follows:

method: POST
content-type: application/json
data: {
orderHash: "the hash identifier for the order",
createdAt: "timestamp at which the order was posted",
signature: "the swapper signature to include with order execution",
orderStatus: "current order status (always should be `open` upon receiving notification)",
encodedOrder: "The abi-encoded order to include with order execution. This can be decoded using the Uniswapx-SDK (https://github.com/uniswap/uniswapx-sdk) to verify order fields and signature",
chainId: "The chain ID that the order originates from and must be settled on",
filler?: "If this order was quoted by an RFQ participant then this will be their filler address",
quoteId?: "If this order was quoted by an RFQ participant then this will be the requestId from the quote request",
offerer?: "The swapper address",
type?: "The order type (e.g. 'Dutch_V2', 'Limit', etc)"
}

Filtering

Orders can be filtered by various fields. For quoters, the most common use case is to filter to their address so they are notified immediately of won bids. Alternatively the webhook can be configured to send all open orders to your endpoint.

Request a Webhook

To register your webhook endpoint, please fill out our onboarding form. Reach out in the UniswapX Fillers - Discussion Telegram group with any questions.

Helpful?