Orderbook gets the Orderbook of a Derivative Market
MarketId of the market's orderbook we want to fetch
0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb
^0x[0-9a-fA-F]{64}$
{"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}}
GET /api/exchange/derivative/v2/orderbook/{marketId} HTTP/1.1 Host: inj-indexer.nownodes.io Accept: */*
OK response.
{ "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 } }