Function SaversApiAxiosParamCreator

  • SaversApi - axios parameter creator

    Parameters

    Returns {
        saver: ((asset, address, height?, options?) => Promise<RequestArgs>);
        savers: ((asset, height?, options?) => Promise<RequestArgs>);
    }

    • saver: ((asset, address, height?, options?) => Promise<RequestArgs>)

      Returns the saver position given then savers pool and address.

      Throws

        • (asset, address, height?, options?): Promise<RequestArgs>
        • 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<RequestArgs>

    • savers: ((asset, height?, options?) => Promise<RequestArgs>)

      Returns all savers for the savers pool.

      Throws

        • (asset, height?, options?): Promise<RequestArgs>
        • Parameters

          • asset: string
          • Optional height: number

            optional block height, defaults to current tip

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

    Export

Generated using TypeDoc