trades InjectiveDerivativeExchangeRPC
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Trades gets the trades of a Derivative Market.
Parameters
marketIdstringqueryMarketId of the market's orderbook we want to fetch
marketIdsArray<string>queryMarketIds of the markets of which we want to get trades
executionSidestringmakertakerqueryFilter by execution side of the trade
directionstringbuysellqueryFilter by direction the trade
skipintegerquerySkip will skip the first n item from the result
limitinteger<int64>queryLimit is used to specify the maximum number of items to be returned.
startTimeinteger<int64>queryThe starting timestamp in UNIX milliseconds that the trades must be equal or older than
endTimeinteger<int64>queryThe ending timestamp in UNIX milliseconds that the trades must be equal or younger than
subaccountIdsArray<string>querySubaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccounts
subaccountIdstringquerySubaccountId of the trader we want to get the trades from
executionTypesArray<string>marketlimitFilllimitMatchRestingOrderlimitMatchNewOrderquerytradeIdstringqueryFilter by the tradeId of the trade
accountAddressstringqueryAccount address
cidstringqueryClient order ID
Response
OK response.
Bad Request response.
Not Found response.
Internal Server Error response.