API Reference
type Orderbook: {
  asks: OrderbookEntry[];
  bids: OrderbookEntry[];
};

Represents an order book with separate arrays for asks and bids.

Type declaration

MemberTypeDescription
asksOrderbookEntry[]Array of order book entries representing sell orders (asks).
bidsOrderbookEntry[]Array of order book entries representing buy orders (bids).