/** * 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 { ApiWalletPostData } from '../models'; import { ApiWalletPutData } from '../models'; import { ApiWalletPutPassphraseData } from '../models'; import { ApiWallet } from '../models'; import { ApiWalletUTxOsStatistics } from '../models'; /** * WalletsApi - axios parameter creator * @export */ export declare const WalletsApiAxiosParamCreator: (configuration?: Configuration) => { /** *

status: stable

* @summary Delete * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWallet: (walletId: string, options?: any) => Promise; /** *

status: stable

Return the UTxOs distribution across the whole wallet, in the form of a histogram. ``` │ 100 ─ │ │ ┌───┐ 10 ─ ┌───┐ │ │ ┌───┐ │ ┌───┐ │ │ │ │ │ │ │ │ │ │ │ │ │ ┌───┐ │ │ 1 ─ ┌───┐ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╷ │ │ ╷ │ │ ╷ ╷ │ │ └─┘ └─│───────│─┘ └─│─┘ └─│─┘ └─│─┘ └─│───────│─┘ └──── 10μ₳ 100μ₳ 1000μ₳ 0.1₳ 1₳ 10₳ 100₳ ``` * @summary UTxO Statistics * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUTxOsStatistics: (walletId: string, options?: any) => Promise; /** *

status: stable

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

status: stable

Return a list of known wallets, ordered from oldest to newest. * @summary List * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWallets: (options?: any) => Promise; /** *

status: stable

Create and restore a wallet from a mnemonic sentence or account public key. * @summary Create / Restore * @param {ApiWalletPostData} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ postWallet: (body: ApiWalletPostData, options?: any) => Promise; /** *

status: stable

* @summary Update Metadata * @param {ApiWalletPutData} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ putWallet: (body: ApiWalletPutData, walletId: string, options?: any) => Promise; /** *

status: stable

* @summary Update Passphrase * @param {ApiWalletPutPassphraseData} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ putWalletPassphrase: (body: ApiWalletPutPassphraseData, walletId: string, options?: any) => Promise; }; /** * WalletsApi - functional programming interface * @export */ export declare const WalletsApiFp: (configuration?: Configuration) => { /** *

status: stable

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

status: stable

Return the UTxOs distribution across the whole wallet, in the form of a histogram. ``` │ 100 ─ │ │ ┌───┐ 10 ─ ┌───┐ │ │ ┌───┐ │ ┌───┐ │ │ │ │ │ │ │ │ │ │ │ │ │ ┌───┐ │ │ 1 ─ ┌───┐ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╷ │ │ ╷ │ │ ╷ ╷ │ │ └─┘ └─│───────│─┘ └─│─┘ └─│─┘ └─│─┘ └─│───────│─┘ └──── 10μ₳ 100μ₳ 1000μ₳ 0.1₳ 1₳ 10₳ 100₳ ``` * @summary UTxO Statistics * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUTxOsStatistics(walletId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** *

status: stable

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

status: stable

Return a list of known wallets, ordered from oldest to newest. * @summary List * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWallets(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** *

status: stable

Create and restore a wallet from a mnemonic sentence or account public key. * @summary Create / Restore * @param {ApiWalletPostData} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ postWallet(body: ApiWalletPostData, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** *

status: stable

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

status: stable

* @summary Update Passphrase * @param {ApiWalletPutPassphraseData} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ putWalletPassphrase(body: ApiWalletPutPassphraseData, walletId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * WalletsApi - factory interface * @export */ export declare const WalletsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** *

status: stable

* @summary Delete * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWallet(walletId: string, options?: any): AxiosPromise; /** *

status: stable

Return the UTxOs distribution across the whole wallet, in the form of a histogram. ``` │ 100 ─ │ │ ┌───┐ 10 ─ ┌───┐ │ │ ┌───┐ │ ┌───┐ │ │ │ │ │ │ │ │ │ │ │ │ │ ┌───┐ │ │ 1 ─ ┌───┐ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╷ │ │ ╷ │ │ ╷ ╷ │ │ └─┘ └─│───────│─┘ └─│─┘ └─│─┘ └─│─┘ └─│───────│─┘ └──── 10μ₳ 100μ₳ 1000μ₳ 0.1₳ 1₳ 10₳ 100₳ ``` * @summary UTxO Statistics * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUTxOsStatistics(walletId: string, options?: any): AxiosPromise; /** *

status: stable

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

status: stable

Return a list of known wallets, ordered from oldest to newest. * @summary List * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWallets(options?: any): AxiosPromise>; /** *

status: stable

Create and restore a wallet from a mnemonic sentence or account public key. * @summary Create / Restore * @param {ApiWalletPostData} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ postWallet(body: ApiWalletPostData, options?: any): AxiosPromise; /** *

status: stable

* @summary Update Metadata * @param {ApiWalletPutData} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ putWallet(body: ApiWalletPutData, walletId: string, options?: any): AxiosPromise; /** *

status: stable

* @summary Update Passphrase * @param {ApiWalletPutPassphraseData} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ putWalletPassphrase(body: ApiWalletPutPassphraseData, walletId: string, options?: any): AxiosPromise; }; /** * WalletsApi - object-oriented interface * @export * @class WalletsApi * @extends {BaseAPI} */ export declare class WalletsApi extends BaseAPI { /** *

status: stable

* @summary Delete * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletsApi */ deleteWallet(walletId: string, options?: any): Promise>; /** *

status: stable

Return the UTxOs distribution across the whole wallet, in the form of a histogram. ``` │ 100 ─ │ │ ┌───┐ 10 ─ ┌───┐ │ │ ┌───┐ │ ┌───┐ │ │ │ │ │ │ │ │ │ │ │ │ │ ┌───┐ │ │ 1 ─ ┌───┐ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╷ │ │ ╷ │ │ ╷ ╷ │ │ └─┘ └─│───────│─┘ └─│─┘ └─│─┘ └─│─┘ └─│───────│─┘ └──── 10μ₳ 100μ₳ 1000μ₳ 0.1₳ 1₳ 10₳ 100₳ ``` * @summary UTxO Statistics * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletsApi */ getUTxOsStatistics(walletId: string, options?: any): Promise>; /** *

status: stable

* @summary Get * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletsApi */ getWallet(walletId: string, options?: any): Promise>; /** *

status: stable

Return a list of known wallets, ordered from oldest to newest. * @summary List * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletsApi */ listWallets(options?: any): Promise>; /** *

status: stable

Create and restore a wallet from a mnemonic sentence or account public key. * @summary Create / Restore * @param {ApiWalletPostData} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletsApi */ postWallet(body: ApiWalletPostData, options?: any): Promise>; /** *

status: stable

* @summary Update Metadata * @param {ApiWalletPutData} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletsApi */ putWallet(body: ApiWalletPutData, walletId: string, options?: any): Promise>; /** *

status: stable

* @summary Update Passphrase * @param {ApiWalletPutPassphraseData} body * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletsApi */ putWalletPassphrase(body: ApiWalletPutPassphraseData, walletId: string, options?: any): Promise>; }