/** * Satstream API * Satstream API * * OpenAPI spec version: 1.0 * Contact: team@satstream.io * * 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 { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { GetChainTxStatsRequest } from '../models'; import { GetChainTxStatsResponse } from '../models'; import { GetDifficultyResponse } from '../models'; /** * NetworkApi - axios parameter creator * @export */ export declare const NetworkApiAxiosParamCreator: (configuration?: Configuration) => { /** * Computes statistics about the total number and rate of transactions in the chain * @summary Get chain tx stats * @param {GetChainTxStatsRequest} body Chain tx stats request parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ getChainTxStats: (body: GetChainTxStatsRequest, options?: AxiosRequestConfig) => Promise; /** * Returns the proof-of-work difficulty as a multiple of the minimum difficulty * @summary Get difficulty * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDifficulty: (options?: AxiosRequestConfig) => Promise; }; /** * NetworkApi - functional programming interface * @export */ export declare const NetworkApiFp: (configuration?: Configuration) => { /** * Computes statistics about the total number and rate of transactions in the chain * @summary Get chain tx stats * @param {GetChainTxStatsRequest} body Chain tx stats request parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ getChainTxStats(body: GetChainTxStatsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Returns the proof-of-work difficulty as a multiple of the minimum difficulty * @summary Get difficulty * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDifficulty(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; }; /** * NetworkApi - factory interface * @export */ export declare const NetworkApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Computes statistics about the total number and rate of transactions in the chain * @summary Get chain tx stats * @param {GetChainTxStatsRequest} body Chain tx stats request parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ getChainTxStats(body: GetChainTxStatsRequest, options?: AxiosRequestConfig): Promise>; /** * Returns the proof-of-work difficulty as a multiple of the minimum difficulty * @summary Get difficulty * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDifficulty(options?: AxiosRequestConfig): Promise>; }; /** * NetworkApi - object-oriented interface * @export * @class NetworkApi * @extends {BaseAPI} */ export declare class NetworkApi extends BaseAPI { /** * Computes statistics about the total number and rate of transactions in the chain * @summary Get chain tx stats * @param {GetChainTxStatsRequest} body Chain tx stats request parameters * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getChainTxStats(body: GetChainTxStatsRequest, options?: AxiosRequestConfig): Promise>; /** * Returns the proof-of-work difficulty as a multiple of the minimum difficulty * @summary Get difficulty * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof NetworkApi */ getDifficulty(options?: AxiosRequestConfig): Promise>; }