import { Milliseconds } from '../types'; import { AmountFloat } from './Amount'; import { PriceFloat } from './Price'; /** A bid or ask quote. */ export declare type Quote = [PriceFloat, AmountFloat]; export interface OrderBook { /** A list of ask price, amount pairs. */ asks: Quote[]; /** A list of bid price, amount pairs. */ bids: Quote[]; /** Freshness timestamp. */ timestamp: Milliseconds; /** A random or pseudo-random number issued in an authentication protocol to ensure that old communications cannot be reused in replay attacks. */ nonce: number; }