Orderbook

orderbookV2 InjectiveDerivativeExchangeRPC

get

Orderbook gets the Orderbook of a Derivative Market

Path parameters
marketIdstring · min: 66 · max: 66Required

MarketId of the market's orderbook we want to fetch

Example: 0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bbPattern: ^0x[0-9a-fA-F]{64}$
Responses
200
OK response.
application/json
get
GET /api/exchange/derivative/v2/orderbook/{marketId} HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
  "orderbook": {
    "buys": [
      {
        "price": "1960000000000000000",
        "quantity": "40",
        "timestamp": 1544614248000
      },
      {
        "price": "1960000000000000000",
        "quantity": "40",
        "timestamp": 1544614248000
      }
    ],
    "sells": [
      {
        "price": "1960000000000000000",
        "quantity": "40",
        "timestamp": 1544614248000
      },
      {
        "price": "1960000000000000000",
        "quantity": "40",
        "timestamp": 1544614248000
      }
    ],
    "sequence": 15083503124060903000,
    "timestamp": 8857124747398009000
  }
}