dYdX V4
Currently on Ethereum Testnet Goerli / dYdX V4 Testnet Only.
/getorders
Query Parameters
Name
Type
Description
https://api.expand.network/derivative/getorders?derivativeId=1000&address=dydx13uxwm6gyyggdz92z47h0h2xdfqdfa0wrtykp2d&subAccountNumber=0{
"status": 200,
"msg": "success",
"data": {
"orders": [
{
"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"
},
{
"id": "ff494eb3-d74e-5852-8aea-1ddabc4d9a37",
"subaccountId": "8845f855-4943-5f72-9ad2-d0a2a416c5bd",
"clientId": "1594632561",
"clobPairId": "1",
"side": "BUY",
"size": "0.01",
"totalFilled": "0.01",
"price": "2600",
"type": "LIMIT",
"status": "FILLED",
"timeInForce": "GTT",
"reduceOnly": false,
"orderFlags": "64",
"goodTilBlockTime": "2024-01-10T10:31:42.000Z",
"createdAtHeight": "4993244",
"clientMetadata": "0",
"updatedAt": "2024-01-10T10:26:43.386Z",
"updatedAtHeight": "4993245",
"postOnly": false,
"ticker": "ETH-USD"
}
]
}
}/getorder
Query Parameters
Name
Type
Description
https://api.expand.network/derivative/getorder?derivativeId=1000&orderId=5724e441-654f-5dc6-ac02-e8e4a7ecda2e{
"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"
}
}/getfills
Query Parameters
Name
Type
Description
/getassets
Query Parameters
Name
Type
Description
/gethistoricalpnl
Query Parameters
Name
Type
Description
/getperpetualpositions
Query Parameters
Name
Type
Description
/getsubaccounts
Query Parameters
Name
Type
Description
/gettransfers
Query Parameters
Name
Type
Description
Last updated

