POST
https://prv.gateway.indexer.biya.io
/
injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC
/
TradesV2
TradesV2
curl --request POST \
  --url https://prv.gateway.indexer.biya.io/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/TradesV2 \
  --header 'Content-Type: application/json' \
  --data '
{
  "market_id": "<string>",
  "execution_side": "<string>",
  "direction": "<string>",
  "subaccount_id": "<string>",
  "skip": 123,
  "limit": 123,
  "start_time": 123,
  "end_time": 123,
  "market_ids": [
    {}
  ],
  "subaccount_ids": [
    {}
  ],
  "execution_types": [
    {}
  ],
  "trade_id": "<string>",
  "account_address": "<string>",
  "cid": "<string>",
  "fee_recipient": "<string>"
}
'
Get trades of a derivative market (V2). Same parameters and response structure as Trades endpoint.
market_id
string
Market ID (optional)
execution_side
string
Execution side (optional)
direction
string
Trade direction (optional)
subaccount_id
string
Subaccount ID (optional)
skip
number
Skip count (optional)
limit
number
Limit count (optional)
start_time
number
Start time (optional)
end_time
number
End time (optional)
market_ids
array
Array of market IDs (optional)
subaccount_ids
array
Array of subaccount IDs (optional)
execution_types
array
Array of execution types (optional)
trade_id
string
Trade ID (optional)
account_address
string
Account address (optional)
cid
string
Client order ID (optional)
fee_recipient
string
Fee recipient (optional)

Response

Same structure as Trades endpoint.