latestOpenAPI 3.1.02026-08-1051108155.9 KB

6e6f8dad92bf

Order

Returns all orders in the same contingency group as the specified order

get/v1/order/{id}/group

Path parameters

idstring required

Query parameters

order'asc' | 'desc'

Direction to paginate through objects

limitinteger

Limit the number of objects to return

cursorstring

Pointer to the current object in pagination dataset

orderBy'createdAt'
Example:createdAt

Order by field

Response

hasNextboolean required

Whether there are more objects to paginate through

nextCursorstring

Pointer to the next page in pagination dataset

Example response

{
  "data": [
    {
      "availableQuantity": "10.5",
      "clientOrderId": "28850555-0968-44ca-bdee-b51e286656d9",
      "createdAt": 1712019600000,
      "expiresAt": 1712019600,
      "filled": "0.5",
      "groupId": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
      "id": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
      "postOnly": true,
      "price": "4200.5",
      "productId": "9c6bf870-a8ce-4de3-820b-542fd5c049ba",
      "quantity": "10.5",
      "reduceOnly": true,
      "sender": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
      "status": "FILLED",
      "stopPrice": "4200.5",
      "subaccountId": "c25c39d9-ce2b-4753-960c-c5ad558aace8",
      "timeInForce": "GTD",
      "triggered": "TRIGGERED",
      "type": "LIMIT",
      "updatedAt": 1712019600000
    }
  ],
  "hasNext": true
}