Order

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

Changed on
get/v1/order/{id}/group

Request

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
}

Changes

    • info

      added the non-success response with the status

    • breaking

      the // response's property type changed from number to no type for status

    • breaking

      the // response's property type changed from number to no type for status

    • breaking

      the // response's property type changed from number to no type for status

    • breaking

      the // response's property type changed from number to no type for status

    • info

      added the optional property // to the response with the status

    • info

      added to the // response property allOf list for the response status

    • info

      added to the // response property allOf list for the response status

    • info

      added to the // response property allOf list for the response status

    • info

      added to the // response property allOf list for the response status

    • info

      the response's property default value Bad Request was removed for the status

    • info

      the response's property default value Forbidden was removed for the status

    • info

      the response's property default value Not Found was removed for the status

    • info

      the response's property default value Too Many Requests was removed for the status

    • info

      the response's property default value Unauthorized was removed for the status

    • info

      the response's property default value Unprocessable Entity was removed for the status

    • info

      the response's property default value 400 was removed for the status

    • info

      the response's property default value 401 was removed for the status

    • info

      the response's property default value 403 was removed for the status

    • info

      the response's property default value 404 was removed for the status

    • info

      the response's property default value 422 was removed for the status

    • info

      the response's property default value 429 was removed for the status

    • info

      removed the 0.00 enum value from the // response property for the response status

    • info

      removed the 0.00 enum value from the // response property for the response status

    • info

      removed the 0.00 enum value from the // response property for the response status

    • info

      removed the 0.00 enum value from the // response property for the response status

    • info

      removed the 1.00 enum value from the // response property for the response status

    • info

      removed the 1.00 enum value from the // response property for the response status

    • info

      removed the 1.00 enum value from the // response property for the response status

    • info

      removed the 1.00 enum value from the // response property for the response status

    • info

      response property message list-of-types was narrowed by removing types array from media type application/json of response 400