Service Name: dxGetOrderBook
Description: This call is used to retrieve open orders at various detail levels:
- Detail 1 - Retrieves the best bid and ask.
- Detail 2 - Retrieves a list of aggregated orders. This is useful for charting.
- Detail 3 - Retrieves a list of non-aggregated orders. This is useful for bot trading.
- Detail 4 - Retrieves the best bid and ask with the order GUIDs.
Using this call you can view open orders without having any connected XBridge wallets.
It will only return orders for assets the Service Node(s) is currently hosting.
Additional Documentation Link: See the official XBridge API info here: https://api.blocknet.co/#dxgetorderbook
xrService dxGetOrderBook [detail] [maker] [taker]
xrService dxGetOrderBook 2 LTC DGB
|detail||int||Detail level: 1, 2, 3, 4||3|
|maker||string||Maker trading asset; the ticker of the asset being sold by the maker.||BLOCK|
|taker||string||Taker trading asset; the ticker of the asset being sold by the taker.||LTC|