Home

trades InjectiveDerivativeExchangeRPC

GET
https://inj-indexer.nownodes.io/api/exchange/derivative/v1/trades

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Trades gets the trades of a Derivative Market.

Parameters

marketIdstringquery

MarketId of the market's orderbook we want to fetch

marketIdsArray<string>query

MarketIds of the markets of which we want to get trades

executionSidestringmakertakerquery

Filter by execution side of the trade

directionstringbuysellquery

Filter by direction the trade

skipintegerquery

Skip will skip the first n item from the result

limitinteger<int64>query

Limit is used to specify the maximum number of items to be returned.

startTimeinteger<int64>query

The starting timestamp in UNIX milliseconds that the trades must be equal or older than

endTimeinteger<int64>query

The ending timestamp in UNIX milliseconds that the trades must be equal or younger than

subaccountIdsArray<string>query

Subaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccounts

subaccountIdstringquery

SubaccountId of the trader we want to get the trades from

executionTypesArray<string>marketlimitFilllimitMatchRestingOrderlimitMatchNewOrderquery
tradeIdstringquery

Filter by the tradeId of the trade

accountAddressstringquery

Account address

cidstringquery

Client order ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.