Messages
{
"type": "subscribe",
"event": "request.status.updated",
"filters": {
"id": "0xae0827617d4ae75b406969971c2d4df9a8e8d819ff0f09581fb45ca123fcc7a0"
}
}{
"type": "unsubscribe",
"event": "request.status.updated",
"filters": {
"id": "0xae0827617d4ae75b406969971c2d4df9a8e8d819ff0f09581fb45ca123fcc7a0"
}
}{
"type": "connection",
"status": "ready",
"data": {
"id": "9nqpzwmwh86"
}
}{
"type": "subscribe",
"status": "success",
"data": {
"event": "request.status.updated",
"filters": {
"id": "0xae0827617d4ae75b406969971c2d4df9a8e8d819ff0f09581fb45ca123fcc7a0"
}
}
}{
"event": "request.status.updated",
"data": {
"status": "pending",
"inTxHashes": [
"5Mmr6W2xicDPW3QuNVYcEiyVTxxVSBZ39zMugn9ePkuvZKc9ask4p33i4c81HTVthNFab5oKRCshCK6a1tveUyN6"
],
"txHashes": [],
"updatedAt": 1765989801294,
"originChainId": 792703809,
"destinationChainId": 8453,
"requestId": "0x0931cd6b5a77317ccfe2513d29309db748bbad68eeda9b1235f902622d2af43d"
},
"publishedAt": 1765989801309
}{
"type": "unsubscribe",
"status": "success",
"data": {
"event": "request.status.updated"
}
}Websockets
Intent Status
Stream transaction statuses for Relay transactions.
WSS
relay-ws
Subscription limits
Each WebSocket message is bounded before any channels are allocated. A subscribe or unsubscribe request that violates any of the limits below is rejected as a whole and no partial subscriptions are created.| Limit | Value | Applies to |
|---|---|---|
| Incoming message size | 16 KiB | Every client-to-server frame |
| Filter keys per message | 16 | Keys in the filters object of a subscribe or unsubscribe request |
| Filter combinations per message | 1000 | Cartesian product of the array values in filters |
| Subscriptions per connection | Tier-dependent | Total active subscriptions on a single WebSocket connection |
subscribe request whose filters would expand to more new channels than the connection has remaining capacity is rejected without subscribing to any of them. Re-subscribing to channels the connection already holds does not consume additional capacity.
The filter-key and filter-combination limits also apply to unsubscribe requests, so a connection whose subscriptions were created under older, more permissive limits should release them in appropriately sized batches.
Error responses
A rejectedsubscribe or unsubscribe request produces a response with status: "error" and a data.message describing the reason — for example, exceeding the filter-key limit, exceeding the filter-combination limit, exceeding remaining subscription capacity, or supplying a malformed filters object. The request has no effect on the connection’s subscriptions when this happens.Messages
{
"type": "subscribe",
"event": "request.status.updated",
"filters": {
"id": "0xae0827617d4ae75b406969971c2d4df9a8e8d819ff0f09581fb45ca123fcc7a0"
}
}{
"type": "unsubscribe",
"event": "request.status.updated",
"filters": {
"id": "0xae0827617d4ae75b406969971c2d4df9a8e8d819ff0f09581fb45ca123fcc7a0"
}
}{
"type": "connection",
"status": "ready",
"data": {
"id": "9nqpzwmwh86"
}
}{
"type": "subscribe",
"status": "success",
"data": {
"event": "request.status.updated",
"filters": {
"id": "0xae0827617d4ae75b406969971c2d4df9a8e8d819ff0f09581fb45ca123fcc7a0"
}
}
}{
"event": "request.status.updated",
"data": {
"status": "pending",
"inTxHashes": [
"5Mmr6W2xicDPW3QuNVYcEiyVTxxVSBZ39zMugn9ePkuvZKc9ask4p33i4c81HTVthNFab5oKRCshCK6a1tveUyN6"
],
"txHashes": [],
"updatedAt": 1765989801294,
"originChainId": 792703809,
"destinationChainId": 8453,
"requestId": "0x0931cd6b5a77317ccfe2513d29309db748bbad68eeda9b1235f902622d2af43d"
},
"publishedAt": 1765989801309
}{
"type": "unsubscribe",
"status": "success",
"data": {
"event": "request.status.updated"
}
}SubscribeRequest
type:object
Client requests subscription to real-time transaction status events.
UnsubscribeRequest
type:object
Client unsubscribes from request.status.updated events. Not required if disconnecting from the websocket as the server cleans up automatically.
ConnectionReady
type:object
Sent by the server when the WebSocket connection is ready.
SubscribeResponse
type:object
Server acknowledges a successful subscription.
RequestStatusUpdatedEvent
type:object
Server pushes real-time transaction status events.
UnsubscribeResponse
type:object
Server confirms unsubscription.
Was this page helpful?