Orders

Retrieves subaccount's orders

get
Path parameters
subaccount_idstringRequired
Query parameters
market_idstringOptional
Responses
200
A successful response.
application/json
get
GET /injective/exchange/v1beta1/orders/{subaccount_id} HTTP/1.1
Host: inj.nownodes.io
Accept: */*
{
  "buy_orders": [
    {
      "order": {
        "price": "text",
        "quantity": "text",
        "isReduceOnly": true,
        "cid": "text"
      },
      "order_hash": "text"
    }
  ],
  "sell_orders": [
    {
      "order": {
        "price": "text",
        "quantity": "text",
        "isReduceOnly": true,
        "cid": "text"
      },
      "order_hash": "text"
    }
  ]
}