POST
https://prv.gateway.indexer.biya.io
/
injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC
/
StreamOrders
StreamOrders
curl --request POST \
  --url https://prv.gateway.indexer.biya.io/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrders \
  --header 'Content-Type: application/json' \
  --data '
{
  "market_id": "<string>",
  "order_side": "<string>",
  "subaccount_id": "<string>",
  "include_inactive": true
}
'
Stream updates to individual orders of a Derivative Market. This endpoint sends real-time updates whenever orders are created, updated, or cancelled.
This is a streaming endpoint that requires WebSocket or Server-Sent Events support.
market_id
string
Market ID (optional)
order_side
string
Order side (optional)
subaccount_id
string
Subaccount ID (optional)
include_inactive
boolean
Include inactive orders (optional)

cURL Example

Using grpcurl:
grpcurl -plaintext -d '{
  "market_id": "0x...",
  "subaccount_id": "0x..."
}' \
  localhost:8088 \
  injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrders
Using websocat:
echo '{"market_id": "0x...", "subaccount_id": "0x..."}' | \
  websocat ws://localhost:8088/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrders