• PoolsApi - functional programming interface

    Parameters

    Returns {
        pool(asset, height?, options?): Promise<((axios?, basePath?) => AxiosPromise<Pool>)>;
        pools(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<PoolsResponse>)>;
    }

    • pool:function
      • Returns the pool information for the provided asset.

        Parameters

        • asset: string
        • Optional height: number

          optional block height, defaults to current tip

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<Pool>)>

        Throws

    • pools:function

    Export

Generated using TypeDoc