/** * 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 { Body17 } from '../models'; import { Body18 } from '../models'; import { InlineResponse2004 } from '../models'; import { InlineResponse202 } from '../models'; import { InlineResponse2021 } from '../models'; /** * ByronTransactionsApi - axios parameter creator * @export */ export declare const ByronTransactionsApiAxiosParamCreator: (configuration?: Configuration) => { /** *

status: stable

Forget pending Byron transaction. Importantly, a transaction, when sent, cannot be cancelled. One can only request forgetting about it in order to try spending (concurrently) the same UTxO in another transaction. But, the transaction may still show up later in a block and therefore, appear in the wallet. * @summary Forget * @param {string} walletId * @param {string} transactionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteByronTransaction: (walletId: string, transactionId: string, options?: any) => Promise; /** *

status: stable

Get transaction by id. * @summary Get * @param {string} walletId * @param {string} transactionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getByronTransaction: (walletId: string, transactionId: string, options?: any) => Promise; /** *

status: stable

List all incoming and outgoing transactions for the given wallet. * @summary List * @param {string} walletId * @param {string} [start] An optional start time in ISO 8601 date-and-time format. Basic and extended formats are both accepted. Times can be local (with a timezone offset) or UTC. If both a start time and an end time are specified, then the start time must not be later than the end time. Example: `2008-08-08T08:08:08Z` * @param {string} [end] An optional end time in ISO 8601 date-and-time format. Basic and extended formats are both accepted. Times can be local (with a timezone offset) or UTC. If both a start time and an end time are specified, then the start time must not be later than the end time. Example: `2008-08-08T08:08:08Z` * @param {string} [order] An optional sort order. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listByronTransactions: (walletId: string, start?: string, end?: string, order?: string, options?: any) => Promise; /** *

status: stable

Create and send transaction from the wallet. * @summary Create * @param {Body18} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ postByronTransaction: (body: Body18, walletId: string, options?: any) => Promise; /** *

status: stable

Estimate fee for the transaction. * @summary Estimate Fee * @param {Body17} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ postByronTransactionFee: (body: Body17, walletId: string, options?: any) => Promise; }; /** * ByronTransactionsApi - functional programming interface * @export */ export declare const ByronTransactionsApiFp: (configuration?: Configuration) => { /** *

status: stable

Forget pending Byron transaction. Importantly, a transaction, when sent, cannot be cancelled. One can only request forgetting about it in order to try spending (concurrently) the same UTxO in another transaction. But, the transaction may still show up later in a block and therefore, appear in the wallet. * @summary Forget * @param {string} walletId * @param {string} transactionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteByronTransaction(walletId: string, transactionId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** *

status: stable

Get transaction by id. * @summary Get * @param {string} walletId * @param {string} transactionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getByronTransaction(walletId: string, transactionId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** *

status: stable

List all incoming and outgoing transactions for the given wallet. * @summary List * @param {string} walletId * @param {string} [start] An optional start time in ISO 8601 date-and-time format. Basic and extended formats are both accepted. Times can be local (with a timezone offset) or UTC. If both a start time and an end time are specified, then the start time must not be later than the end time. Example: `2008-08-08T08:08:08Z` * @param {string} [end] An optional end time in ISO 8601 date-and-time format. Basic and extended formats are both accepted. Times can be local (with a timezone offset) or UTC. If both a start time and an end time are specified, then the start time must not be later than the end time. Example: `2008-08-08T08:08:08Z` * @param {string} [order] An optional sort order. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listByronTransactions(walletId: string, start?: string, end?: string, order?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** *

status: stable

Create and send transaction from the wallet. * @summary Create * @param {Body18} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ postByronTransaction(body: Body18, walletId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** *

status: stable

Estimate fee for the transaction. * @summary Estimate Fee * @param {Body17} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ postByronTransactionFee(body: Body17, walletId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ByronTransactionsApi - factory interface * @export */ export declare const ByronTransactionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** *

status: stable

Forget pending Byron transaction. Importantly, a transaction, when sent, cannot be cancelled. One can only request forgetting about it in order to try spending (concurrently) the same UTxO in another transaction. But, the transaction may still show up later in a block and therefore, appear in the wallet. * @summary Forget * @param {string} walletId * @param {string} transactionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteByronTransaction(walletId: string, transactionId: string, options?: any): AxiosPromise; /** *

status: stable

Get transaction by id. * @summary Get * @param {string} walletId * @param {string} transactionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getByronTransaction(walletId: string, transactionId: string, options?: any): AxiosPromise; /** *

status: stable

List all incoming and outgoing transactions for the given wallet. * @summary List * @param {string} walletId * @param {string} [start] An optional start time in ISO 8601 date-and-time format. Basic and extended formats are both accepted. Times can be local (with a timezone offset) or UTC. If both a start time and an end time are specified, then the start time must not be later than the end time. Example: `2008-08-08T08:08:08Z` * @param {string} [end] An optional end time in ISO 8601 date-and-time format. Basic and extended formats are both accepted. Times can be local (with a timezone offset) or UTC. If both a start time and an end time are specified, then the start time must not be later than the end time. Example: `2008-08-08T08:08:08Z` * @param {string} [order] An optional sort order. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listByronTransactions(walletId: string, start?: string, end?: string, order?: string, options?: any): AxiosPromise>; /** *

status: stable

Create and send transaction from the wallet. * @summary Create * @param {Body18} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ postByronTransaction(body: Body18, walletId: string, options?: any): AxiosPromise; /** *

status: stable

Estimate fee for the transaction. * @summary Estimate Fee * @param {Body17} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ postByronTransactionFee(body: Body17, walletId: string, options?: any): AxiosPromise; }; /** * ByronTransactionsApi - object-oriented interface * @export * @class ByronTransactionsApi * @extends {BaseAPI} */ export declare class ByronTransactionsApi extends BaseAPI { /** *

status: stable

Forget pending Byron transaction. Importantly, a transaction, when sent, cannot be cancelled. One can only request forgetting about it in order to try spending (concurrently) the same UTxO in another transaction. But, the transaction may still show up later in a block and therefore, appear in the wallet. * @summary Forget * @param {string} walletId * @param {string} transactionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ByronTransactionsApi */ deleteByronTransaction(walletId: string, transactionId: string, options?: any): Promise>; /** *

status: stable

Get transaction by id. * @summary Get * @param {string} walletId * @param {string} transactionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ByronTransactionsApi */ getByronTransaction(walletId: string, transactionId: string, options?: any): Promise>; /** *

status: stable

List all incoming and outgoing transactions for the given wallet. * @summary List * @param {string} walletId * @param {string} [start] An optional start time in ISO 8601 date-and-time format. Basic and extended formats are both accepted. Times can be local (with a timezone offset) or UTC. If both a start time and an end time are specified, then the start time must not be later than the end time. Example: `2008-08-08T08:08:08Z` * @param {string} [end] An optional end time in ISO 8601 date-and-time format. Basic and extended formats are both accepted. Times can be local (with a timezone offset) or UTC. If both a start time and an end time are specified, then the start time must not be later than the end time. Example: `2008-08-08T08:08:08Z` * @param {string} [order] An optional sort order. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ByronTransactionsApi */ listByronTransactions(walletId: string, start?: string, end?: string, order?: string, options?: any): Promise>; /** *

status: stable

Create and send transaction from the wallet. * @summary Create * @param {Body18} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ByronTransactionsApi */ postByronTransaction(body: Body18, walletId: string, options?: any): Promise>; /** *

status: stable

Estimate fee for the transaction. * @summary Estimate Fee * @param {Body17} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ByronTransactionsApi */ postByronTransactionFee(body: Body17, walletId: string, options?: any): Promise>; }