ordersHistory InjectiveSpotExchangeRPC
GET
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Lists history orders posted from this subaccount
Parameters
subaccountIdstringquerysubaccount ID to filter orders for specific subaccount
marketIdstringqueryMarket ID to filter orders for specific market
marketIdsArray<string>queryactiveMarketsOnlybooleanfalsequeryReturn only orders for active markets
skipinteger0querySkip will skip the first n item from the result
limitinteger[1, 100]100queryLimit is used to specify the maximum number of items to be returned
orderTypesArray<string>buysellstop_buystop_selltake_buytake_sellbuy_posell_poqueryfilter by order types
directionstringqueryorder side filter
startTimeinteger<int64>querySearch for orders which createdAt >= startTime, time in millisecond
endTimeinteger<int64>querySearch for orders which createdAt <= endTime, time in millisecond
statestringbookedpartial_filledfilledcanceledqueryFilter by order state
executionTypesArray<string>marketlimitquerytradeIdstringqueryTradeId of the order we want to fetch
cidstringqueryClient order ID
Response
200OK
OK response.
400Bad Request
Bad Request response.
404Not Found
Not Found response.
500Internal Server Error
Internal Server Error response.