Get Orders
Fetches all active orders on a specified DEX, filtered by maker and taker assets. It returns order details (IDs, asset addresses, pricing, etc.) to support real-time order book monitoring and trading integrations.
💡 Compute Unit Value: 15 (Fixed)
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/dex/getorders
- AuthAPI key in header X-API-Key
Query parameters
The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more here.
The current status of the order. Accepted values: open, expired, error, cancelled, filled, or insufficient-funds.
Comma-separated list of order hashes.
Address of the filler (entity responsible for filling the order).
Sort order of the results. Accepted values: asc or desc. Default is desc.
The token address of the asset the Maker is selling.
The token address of the asset the Maker expects in return.
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"totalPages": "1",
"currentPage": "1",
"orders": [
{
"id": "3822",
"chainId": "137",
"signature": "5282e03196e58d74c7e633f89a67a7f65d5ff781789ff576b9820253f7139efe3a66b1b8e818280af4b03859360941f2746b6beb2985b53ed609527bc6cee5501b",
"salt": "70625134037672101032634555633607691523",
"makerAsset": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"takerAsset": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
"maker": "0x503d741356f80b919458f0599666c4f00120f6c1",
"contractAddress": "0x227b0c196ea8db17a665ea6824d972a64202e936",
"receiver": "0x503d741356f80b919458f0599666c4f00120f6c1",
"allowedSenders": "0x0000000000000000000000000000000000000000",
"makingAmount": "1000000",
"takingAmount": "4900000000000",
"filledMakingAmount": "0",
"filledTakingAmount": "0",
"feeConfig": "0",
"feeRecipient": "0x0000000000000000000000000000000000000000",
"makerTokenFeePercent": "0",
"makerAssetData": "",
"takerAssetData": "",
"getMakerAmount": "f4a215c300000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000474dec26800",
"getTakerAmount": "296637bf00000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000474dec26800",
"predicate": "961d5b1e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000227b0c196ea8db17a665ea6824d972a64202e936000000000000000000000000227b0c196ea8db17a665ea6824d972a64202e9360000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000044cf6fc6e3000000000000000000000000503d741356f80b919458f0599666c4f00120f6c1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002463592c2b000000000000000000000000000000000000000000000000000000006a8024b400000000000000000000000000000000000000000000000000000000",
"permit": "",
"interaction": "",
"expiredAt": "1786782900",
"orderHash": "8312abeb662786741364702d5858da05394a7e441dab1bd753daf1a5369d1011",
"availableMakingAmount": "1000000",
"makerBalanceAllowance": "3309150",
"rate": "0.0000002041"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.