derivative

Get Order

Fetches detailed information for a single order identified by its order ID.

💡 Compute Unit Value: 10 (Fixed)

get/defi/v1/derivative/getorder

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/derivative/getorder
  • Auth
    API key in header X-API-Key

Query parameters

orderIdstring required

The unique identifier of the order to retrieve. Use this to fetch details for a specific order.

Example:95167
derivativeId'1000'

The unique identifier for dYdX V4.

Example:1000

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "id": "5724e441-654f-5dc6-ac02-e8e4a7ecda2e",
    "subaccountId": "8845f855-4943-5f72-9ad2-d0a2a416c5bd",
    "clientId": "3711471933",
    "clobPairId": "1",
    "side": "SELL",
    "size": "0.01",
    "totalFilled": "0",
    "price": "2600",
    "type": "LIMIT",
    "status": "CANCELED",
    "timeInForce": "GTT",
    "reduceOnly": false,
    "orderFlags": "64",
    "goodTilBlockTime": "2024-01-10T10:42:45.000Z",
    "createdAtHeight": "4993716",
    "clientMetadata": "0",
    "updatedAt": "2024-01-10T10:42:45.385Z",
    "updatedAtHeight": "4993921",
    "postOnly": true,
    "ticker": "ETH-USD"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.