getAllOpenAskOrders

Get all open ask orders in reverse block height order.

Request: requestType is getAllOpenAskOrders firstIndex is a zero-based index to the first order to retrieve (optional) lastIndex is a zero-based index to the last order to retrieve (optional)

Response:

(N) requestProcessingTime is the API request processing time (in millisec) (A) openOrders is the array of order objects (refer to Get Order for details)

Example:

Request:

http://localhost:801/BEAM?requestType=getAllOpenAskOrders&firstIndex=2577

Response:

{ “requestProcessingTime”: 0, “openOrders”: [ { “quantityQNT”: “10”, “priceNQT”: “10000000000000”, “accountRS”: “BEAM-7X92-29W5-7LQA-4V8CH”, “asset”: “15295227971848272658”, “type”: “ask”, “account”: “15350648744942013686”, “order”: “14034527401109329159”, “height”: 17901 }, { “quantityQNT”: “1”, “priceNQT”: “10000000000000”, “accountRS”: “BEAM-7X92-29W5-7LQA-4V8CH”, “asset”: “11375670541237055652”, “type”: “ask”, “account”: “14062819640288676663”, “order”: “18379469307992717843”, “height”: 11997 }, { “quantityQNT”: “4392”, “priceNQT”: “100000000000”, “accountRS”: “BEAM-7X92-29W5-7LQA-4V8CH”, “asset”: “11375670541237055652”, “type”: “ask”, “account”: “4173943238181013057”, “order”: “756014781951608408”, “height”: 11257 } ] }

Last updated