Orders by hashes

Retrieves spot orders corresponding to specified order hashes for a given subaccountID and marketID

get
Path parameters
market_idstringRequired

Market ID for the market

subaccount_idstringRequired

SubaccountID of the trader

Query parameters
order_hashesstring[]Optional

the order hashes.

Responses
200
A successful response.
application/json
get
GET /injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id} HTTP/1.1
Host: inj.nownodes.io
Accept: */*
{
  "orders": [
    {
      "price": "text",
      "quantity": "text",
      "fillable": "text",
      "isBuy": true,
      "order_hash": "text",
      "cid": "text"
    }
  ]
}