UNPKG

@stellar/stellar-sdk

Version:

A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.

22 lines (21 loc) 856 B
import { Asset } from "@stellar/stellar-base"; import { CallBuilder } from "./call_builder"; import { ServerApi } from "./server_api"; import { HttpClient } from "../http-client"; /** * Creates a new {@link OrderbookCallBuilder} pointed to server defined by serverUrl. * * Do not create this object directly, use {@link Horizon.Server#orderbook}. * * @see {@link https://developers.stellar.org/docs/data/horizon/api-reference/aggregations/order-books|Orderbook Details} * * @augments CallBuilder * @private * @class * @param {string} serverUrl serverUrl Horizon server URL. * @param {Asset} selling Asset being sold * @param {Asset} buying Asset being bought */ export declare class OrderbookCallBuilder extends CallBuilder<ServerApi.OrderbookRecord> { constructor(serverUrl: URI, httpClient: HttpClient, selling: Asset, buying: Asset); }