• SaversApi - functional programming interface

    Parameters

    Returns {
        saver(asset, address, height?, options?): Promise<((axios?, basePath?) => AxiosPromise<Saver>)>;
        savers(asset, height?, options?): Promise<((axios?, basePath?) => AxiosPromise<SaversResponse>)>;
    }

    • saver:function
      • Returns the saver position given then savers pool and address.

        Parameters

        • asset: string
        • address: string
        • Optional height: number

          optional block height, defaults to current tip

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

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

        Throws

    • savers:function

    Export

Generated using TypeDoc