Intent Status - Relay

Messages

Subscribe request

{
  "type": "subscribe",
  "event": "request.status.updated",
  "filters": {
    "id": "0xae0827617d4ae75b406969971c2d4df9a8e8d819ff0f09581fb45ca123fcc7a0"
  }
}

Unsubscribe request

{
  "type": "unsubscribe",
  "event": "request.status.updated",
  "filters": {
    "id": "0xae0827617d4ae75b406969971c2d4df9a8e8d819ff0f09581fb45ca123fcc7a0"
  }
}

Connection ready

{
  "type": "connection",
  "status": "ready",
  "data": {
    "id": "9nqpzwmwh86"
  }
}

Subscribe response

{
  "type": "subscribe",
  "status": "success",
  "data": {
    "event": "request.status.updated",
    "filters": {
      "id": "0xae0827617d4ae75b406969971c2d4df9a8e8d819ff0f09581fb45ca123fcc7a0"
    }
  }
}

Request status updated event

{
  "event": "request.status.updated",
  "data": {
    "status": "pending",
    "inTxHashes": [
      "5Mmr6W2xicDPW3QuNVYcEiyVTxxVSBZ39zMugn9ePkuvZKc9ask4p33i4c81HTVthNFab5oKRCshCK6a1tveUyN6"
    ],
    "txHashes": [],
    "updatedAt": 1765989801294,
    "originChainId": 792703809,
    "destinationChainId": 8453,
    "requestId": "0x0931cd6b5a77317ccfe2513d29309db748bbad68eeda9b1235f902622d2af43d"
  },
  "publishedAt": 1765989801309
}

Unsubscribe response

{
  "type": "unsubscribe",
  "status": "success",
  "data": {
    "event": "request.status.updated"
  }
}

Send

SubscribeRequest

type: object
show 3 properties

Client requests subscription to real-time transaction status events.

UnsubscribeRequest

type: object
show 3 properties

Client unsubscribes from request.status.updated events. Not required if disconnecting from the websocket as the server cleans up automatically.

Receive

ConnectionReady

type: object
show 3 properties

Sent by the server when the WebSocket connection is ready.

SubscribeResponse

type: object
show 3 properties

Server acknowledges a successful subscription.

RequestStatusUpdatedEvent

type: object
show 3 properties

Server pushes real-time transaction status events.

UnsubscribeResponse

type: object
show 3 properties

Server confirms unsubscription.