/** * Cardano Wallet Backend API *

* * OpenAPI spec version: 2021.3.4 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { ApiNetworkInformation } from '../models'; import { ApiNetworkClock } from '../models'; import { ApiNetworkParameters } from '../models'; /** * NetworkApi - axios parameter creator * @export */ export declare const NetworkApiAxiosParamCreator: (configuration?: Configuration) => { /** *

status: stable

* @summary Clock * @param {boolean} [forceNtpCheck] NTP checks are cached for short duration to avoid sending too many queries to the central NTP servers. In some cases however, a client may want to force a new check. When this flag is set, the request **will block** until NTP server responds or will timeout after a while without any answer from the NTP server. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkClock: (forceNtpCheck?: boolean, options?: any) => Promise; /** *

status: stable

* @summary Information * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkInformation: (options?: any) => Promise; /** *

status: stable

Returns the set of network parameters for the current epoch. * @summary Parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkParameters: (options?: any) => Promise; }; /** * NetworkApi - functional programming interface * @export */ export declare const NetworkApiFp: (configuration?: Configuration) => { /** *

status: stable

* @summary Clock * @param {boolean} [forceNtpCheck] NTP checks are cached for short duration to avoid sending too many queries to the central NTP servers. In some cases however, a client may want to force a new check. When this flag is set, the request **will block** until NTP server responds or will timeout after a while without any answer from the NTP server. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkClock(forceNtpCheck?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** *

status: stable

* @summary Information * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkInformation(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** *

status: stable

Returns the set of network parameters for the current epoch. * @summary Parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkParameters(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * NetworkApi - factory interface * @export */ export declare const NetworkApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** *

status: stable

* @summary Clock * @param {boolean} [forceNtpCheck] NTP checks are cached for short duration to avoid sending too many queries to the central NTP servers. In some cases however, a client may want to force a new check. When this flag is set, the request **will block** until NTP server responds or will timeout after a while without any answer from the NTP server. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkClock(forceNtpCheck?: boolean, options?: any): AxiosPromise; /** *

status: stable

* @summary Information * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkInformation(options?: any): AxiosPromise; /** *

status: stable

Returns the set of network parameters for the current epoch. * @summary Parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ getNetworkParameters(options?: any): AxiosPromise; }; /** * NetworkApi - object-oriented interface * @export * @class NetworkApi * @extends {BaseAPI} */ export declare class NetworkApi extends BaseAPI { /** *

status: stable

* @summary Clock * @param {boolean} [forceNtpCheck] NTP checks are cached for short duration to avoid sending too many queries to the central NTP servers. In some cases however, a client may want to force a new check. When this flag is set, the request **will block** until NTP server responds or will timeout after a while without any answer from the NTP server. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getNetworkClock(forceNtpCheck?: boolean, options?: any): Promise>; /** *

status: stable

* @summary Information * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getNetworkInformation(options?: any): Promise>; /** *

status: stable

Returns the set of network parameters for the current epoch. * @summary Parameters * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getNetworkParameters(options?: any): Promise>; }