/** * 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 { EstimateRawFeeRequest } from '../models'; import { EstimateRawFeeResponse } from '../models'; import { EstimateSmartFeeRequest } from '../models'; import { EstimateSmartFeeResponse } from '../models'; /** * FeesApi - axios parameter creator * @export */ export declare const FeesApiAxiosParamCreator: (configuration?: Configuration) => { /** * Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks if possible. * @summary Estimate Raw Fee * @param {EstimateRawFeeRequest} body Fee estimation parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ estimateRawFee: (body: EstimateRawFeeRequest, options?: AxiosRequestConfig) => Promise; /** * Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks * @summary Estimate smart fee * @param {EstimateSmartFeeRequest} body Fee estimation parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ estimateSmartFee: (body: EstimateSmartFeeRequest, options?: AxiosRequestConfig) => Promise; }; /** * FeesApi - functional programming interface * @export */ export declare const FeesApiFp: (configuration?: Configuration) => { /** * Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks if possible. * @summary Estimate Raw Fee * @param {EstimateRawFeeRequest} body Fee estimation parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ estimateRawFee(body: EstimateRawFeeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks * @summary Estimate smart fee * @param {EstimateSmartFeeRequest} body Fee estimation parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ estimateSmartFee(body: EstimateSmartFeeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; }; /** * FeesApi - factory interface * @export */ export declare const FeesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks if possible. * @summary Estimate Raw Fee * @param {EstimateRawFeeRequest} body Fee estimation parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ estimateRawFee(body: EstimateRawFeeRequest, options?: AxiosRequestConfig): Promise>; /** * Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks * @summary Estimate smart fee * @param {EstimateSmartFeeRequest} body Fee estimation parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ estimateSmartFee(body: EstimateSmartFeeRequest, options?: AxiosRequestConfig): Promise>; }; /** * FeesApi - object-oriented interface * @export * @class FeesApi * @extends {BaseAPI} */ export declare class FeesApi extends BaseAPI { /** * Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks if possible. * @summary Estimate Raw Fee * @param {EstimateRawFeeRequest} body Fee estimation parameters * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FeesApi */ estimateRawFee(body: EstimateRawFeeRequest, options?: AxiosRequestConfig): Promise>; /** * Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within conf_target blocks * @summary Estimate smart fee * @param {EstimateSmartFeeRequest} body Fee estimation parameters * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FeesApi */ estimateSmartFee(body: EstimateSmartFeeRequest, options?: AxiosRequestConfig): Promise>; }