Nado Typescript SDK Documentation
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    • Retrieves all market states from the offchain engine

      Returns Promise<GetEngineAllMarketsResponse>

    • Get all edge engine markets

      Returns Promise<Record<number, GetEngineAllMarketsResponse>>

    • Retrieves all spread health groups

      Returns Promise<GetEngineHealthGroupsResponse>

    • Queries engine to determine if the order can be submitted within health requirements

      Parameters

      • params: ValidateEngineOrderParams

      Returns Promise<ValidateEngineOrderResponse>

    • Queries the offchain engine to retrieve status of any open orders for the given subaccount

      Parameters

      • params: GetEngineSubaccountOrdersParams

      Returns Promise<EngineSubaccountOrders>

    • Queries the offchain engine to retrieve status of any open orders for the given subaccount for multiple products

      Parameters

      • params: GetEngineSubaccountProductOrdersParams

      Returns Promise<GetEngineSubaccountProductOrdersResponse>

    • Queries indexer to fetch historical orders

      Parameters

      • params: GetIndexerOrdersParams

      Returns Promise<GetIndexerOrdersResponse>

    • Queries engine to determine maximum order size

      Parameters

      • params: GetEngineMaxOrderSizeParams

      Returns Promise<BigNumber>

    • Retrieves liquidity per price tick from the engine. The engine will skip price levels that have no liquidity, so it is not guaranteed that the bids/asks are evenly spaced

      Parameters

      • params: GetEngineMarketLiquidityParams

      Returns Promise<GetEngineMarketLiquidityResponse>

    • Historical candlesticks from the indexer, use getLatestMarketPrice for the latest orderbook prices

      Parameters

      • params: GetIndexerCandlesticksParams

      Returns Promise<GetIndexerCandlesticksResponse>

    • Historical candlesticks from Edge, use getLatestMarketPrice for the latest orderbook prices

      Parameters

      • params: GetIndexerCandlesticksParams

      Returns Promise<GetIndexerCandlesticksResponse>

    • Retrieves the latest off-chain orderbook price from the engine

      Parameters

      • params: GetEngineMarketPriceParams

      Returns Promise<EngineMarketPrice>

    • Retrieves the latest off-chain orderbook price from the engine for multiple markets

      Parameters

      • params: GetEngineMarketPricesParams

      Returns Promise<GetEngineMarketPricesResponse>

    • Retrieves the latest funding rate for a perp product

      Parameters

      • params: GetIndexerFundingRateParams

      Returns Promise<IndexerFundingRate>

    • Retrieves the latest funding rate for multiple perp products

      Parameters

      • params: GetIndexerMultiProductFundingRatesParams

      Returns Promise<GetIndexerMultiProductFundingRatesResponse>

    • Retrieves the historical snapshots for a product from the indexer

      Parameters

      • params: GetIndexerProductSnapshotsParams

      Returns Promise<GetIndexerProductSnapshotsResponse>

    • Retrieves the historical snapshots for a market from the indexer

      Parameters

      • params: GetIndexerMarketSnapshotsParams

      Returns Promise<GetIndexerMarketSnapshotsResponse>

    • Retrieves the historical snapshots for a market from Edge

      Parameters

      • params: IndexerSnapshotsIntervalParams

      Returns Promise<GetIndexerEdgeMarketSnapshotResponse>

    • Retrieves the historical snapshots for multiple products from the indexer

      Parameters

      • params: GetIndexerMultiProductSnapshotsParams

      Returns Promise<GetIndexerMultiProductSnapshotsResponse>