derivative
Get Fills
Retrieves the fill details for executed orders associated with a specified address and sub-account.
💡 Compute Unit Value: 20 (Fixed)
get/defi/v1/derivative/getfills
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/derivative/getfills
- AuthAPI key in header X-API-Key
Query parameters
addressstring required
The dYdX wallet address of the user.
Example:0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402
derivativeId'1000'
The unique identifier for dYdX V4.
Example:1000
subAccountNumberstring required
The sub-account number for the user. This specifies which sub-account's orders should be retrieved.
Example:0
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"fills": [
{
"id": "025d1daa-3b12-5a65-a59a-fb57fefb6233",
"side": "BUY",
"liquidity": "TAKER",
"type": "LIMIT",
"market": "ETH-USD",
"marketType": "PERPETUAL",
"price": "2413.9",
"size": "0.01",
"fee": "0.01207",
"createdAt": "2024-01-10T10:41:20.668Z",
"createdAtHeight": "4993859",
"orderId": "25432d45-2ac7-5476-991e-5c37a5d53cf7",
"clientMetadata": "0"
},
{
"id": "1017f858-a126-520e-bf3f-a579f5cc6c40",
"side": "BUY",
"liquidity": "TAKER",
"type": "LIMIT",
"market": "ETH-USD",
"marketType": "PERPETUAL",
"price": "2413.9",
"size": "0.01",
"fee": "0.01207",
"createdAt": "2024-01-10T10:41:10.957Z",
"createdAtHeight": "4993853",
"orderId": "64900bdb-a4af-597f-897e-7d1ee7b3f9c5",
"clientMetadata": "0"
},
{
"id": "daae86a4-e125-5231-97e6-b1ea46174e3b",
"side": "BUY",
"liquidity": "TAKER",
"type": "LIMIT",
"market": "ETH-USD",
"marketType": "PERPETUAL",
"price": "2500",
"size": "0.01",
"fee": "0.0125",
"createdAt": "2024-01-10T10:40:55.682Z",
"createdAtHeight": "4993842",
"orderId": "e2d931c4-7236-50dd-853e-72db64c7c67a",
"clientMetadata": "0"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.