/** * 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 { AnalyzePSBTRequest } from '../models'; import { AnalyzePSBTResponse } from '../models'; import { CombinePSBTRequest } from '../models'; import { CombinePSBTResponse } from '../models'; import { CreatePSBTRequest } from '../models'; import { CreatePSBTResponse } from '../models'; import { DecodePSBTRequest } from '../models'; import { DecodePSBTResponse } from '../models'; import { JoinPSBTsRequest } from '../models'; import { JoinPSBTsResponse } from '../models'; /** * PSBTsApi - axios parameter creator * @export */ export declare const PSBTsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Analyzes and provides information about the current status of a PSBT and its inputs * @summary Analyze PSBT * @param {AnalyzePSBTRequest} body PSBT to analyze * @param {*} [options] Override http request option. * @throws {RequiredError} */ analyzePsbt: (body: AnalyzePSBTRequest, options?: AxiosRequestConfig) => Promise; /** * Combines multiple partially signed Bitcoin transactions into one transaction * @summary Combine PSBTs * @param {CombinePSBTRequest} body Array of PSBTs to combine * @param {*} [options] Override http request option. * @throws {RequiredError} */ combinePsbt: (body: CombinePSBTRequest, options?: AxiosRequestConfig) => Promise; /** * Creates a transaction in the Partially Signed Transaction format. Implements the Creator role. * @summary Create PSBT * @param {CreatePSBTRequest} body Transaction parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPsbt: (body: CreatePSBTRequest, options?: AxiosRequestConfig) => Promise; /** * Return a JSON object representing the serialized, base64-encoded partially signed Bitcoin transaction. * @summary Decode PSBT * @param {DecodePSBTRequest} body PSBT to decode * @param {*} [options] Override http request option. * @throws {RequiredError} */ decodePsbt: (body: DecodePSBTRequest, options?: AxiosRequestConfig) => Promise; /** * Joins multiple distinct PSBTs with different inputs and outputs into one PSBT * @summary Join PSBTs * @param {JoinPSBTsRequest} body PSBTs to join * @param {*} [options] Override http request option. * @throws {RequiredError} */ joinPsbts: (body: JoinPSBTsRequest, options?: AxiosRequestConfig) => Promise; }; /** * PSBTsApi - functional programming interface * @export */ export declare const PSBTsApiFp: (configuration?: Configuration) => { /** * Analyzes and provides information about the current status of a PSBT and its inputs * @summary Analyze PSBT * @param {AnalyzePSBTRequest} body PSBT to analyze * @param {*} [options] Override http request option. * @throws {RequiredError} */ analyzePsbt(body: AnalyzePSBTRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Combines multiple partially signed Bitcoin transactions into one transaction * @summary Combine PSBTs * @param {CombinePSBTRequest} body Array of PSBTs to combine * @param {*} [options] Override http request option. * @throws {RequiredError} */ combinePsbt(body: CombinePSBTRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Creates a transaction in the Partially Signed Transaction format. Implements the Creator role. * @summary Create PSBT * @param {CreatePSBTRequest} body Transaction parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPsbt(body: CreatePSBTRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Return a JSON object representing the serialized, base64-encoded partially signed Bitcoin transaction. * @summary Decode PSBT * @param {DecodePSBTRequest} body PSBT to decode * @param {*} [options] Override http request option. * @throws {RequiredError} */ decodePsbt(body: DecodePSBTRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Joins multiple distinct PSBTs with different inputs and outputs into one PSBT * @summary Join PSBTs * @param {JoinPSBTsRequest} body PSBTs to join * @param {*} [options] Override http request option. * @throws {RequiredError} */ joinPsbts(body: JoinPSBTsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; }; /** * PSBTsApi - factory interface * @export */ export declare const PSBTsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Analyzes and provides information about the current status of a PSBT and its inputs * @summary Analyze PSBT * @param {AnalyzePSBTRequest} body PSBT to analyze * @param {*} [options] Override http request option. * @throws {RequiredError} */ analyzePsbt(body: AnalyzePSBTRequest, options?: AxiosRequestConfig): Promise>; /** * Combines multiple partially signed Bitcoin transactions into one transaction * @summary Combine PSBTs * @param {CombinePSBTRequest} body Array of PSBTs to combine * @param {*} [options] Override http request option. * @throws {RequiredError} */ combinePsbt(body: CombinePSBTRequest, options?: AxiosRequestConfig): Promise>; /** * Creates a transaction in the Partially Signed Transaction format. Implements the Creator role. * @summary Create PSBT * @param {CreatePSBTRequest} body Transaction parameters * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPsbt(body: CreatePSBTRequest, options?: AxiosRequestConfig): Promise>; /** * Return a JSON object representing the serialized, base64-encoded partially signed Bitcoin transaction. * @summary Decode PSBT * @param {DecodePSBTRequest} body PSBT to decode * @param {*} [options] Override http request option. * @throws {RequiredError} */ decodePsbt(body: DecodePSBTRequest, options?: AxiosRequestConfig): Promise>; /** * Joins multiple distinct PSBTs with different inputs and outputs into one PSBT * @summary Join PSBTs * @param {JoinPSBTsRequest} body PSBTs to join * @param {*} [options] Override http request option. * @throws {RequiredError} */ joinPsbts(body: JoinPSBTsRequest, options?: AxiosRequestConfig): Promise>; }; /** * PSBTsApi - object-oriented interface * @export * @class PSBTsApi * @extends {BaseAPI} */ export declare class PSBTsApi extends BaseAPI { /** * Analyzes and provides information about the current status of a PSBT and its inputs * @summary Analyze PSBT * @param {AnalyzePSBTRequest} body PSBT to analyze * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PSBTsApi */ analyzePsbt(body: AnalyzePSBTRequest, options?: AxiosRequestConfig): Promise>; /** * Combines multiple partially signed Bitcoin transactions into one transaction * @summary Combine PSBTs * @param {CombinePSBTRequest} body Array of PSBTs to combine * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PSBTsApi */ combinePsbt(body: CombinePSBTRequest, options?: AxiosRequestConfig): Promise>; /** * Creates a transaction in the Partially Signed Transaction format. Implements the Creator role. * @summary Create PSBT * @param {CreatePSBTRequest} body Transaction parameters * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PSBTsApi */ createPsbt(body: CreatePSBTRequest, options?: AxiosRequestConfig): Promise>; /** * Return a JSON object representing the serialized, base64-encoded partially signed Bitcoin transaction. * @summary Decode PSBT * @param {DecodePSBTRequest} body PSBT to decode * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PSBTsApi */ decodePsbt(body: DecodePSBTRequest, options?: AxiosRequestConfig): Promise>; /** * Joins multiple distinct PSBTs with different inputs and outputs into one PSBT * @summary Join PSBTs * @param {JoinPSBTsRequest} body PSBTs to join * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PSBTsApi */ joinPsbts(body: JoinPSBTsRequest, options?: AxiosRequestConfig): Promise>; }