/** * 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 { Body12 } from '../models'; import { Body13 } from '../models'; import { Body14 } from '../models'; import { InlineResponse20010 } from '../models'; import { InlineResponse2003 } from '../models'; import { ApiWallet } from '../models'; import { InlineResponse2011 } from '../models'; /** * ByronWalletsApi - axios parameter creator * @export */ export declare const ByronWalletsApiAxiosParamCreator: (configuration?: Configuration) => { /** *

status: stable

Delete a Byron wallet. * @summary Delete * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteByronWallet: (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} */ getByronUTxOsStatistics: (walletId: string, options?: any) => Promise; /** *

status: stable

Return information about a Byron wallet. * @summary Get * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getByronWallet: (walletId: string, options?: any) => Promise; /** *

status: stable

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

status: stable

Restore a Byron wallet from a mnemonic sentence or encrypted root private key (deprecated). **⚠️ WARNING ⚠️** The construction of random wallet in itself is **deprecated**, in particular the restoration from an encrypted root private key. These endpoints exist to ease migrations from legacy software such as `cardano-sl` but should be avoided by new applications. * @summary Restore * @param {Body12} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ postByronWallet: (body: Body12, options?: any) => Promise; /** *

status: stable

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

status: stable

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

status: stable

Delete a Byron wallet. * @summary Delete * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteByronWallet(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} */ getByronUTxOsStatistics(walletId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** *

status: stable

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

status: stable

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

status: stable

Restore a Byron wallet from a mnemonic sentence or encrypted root private key (deprecated). **⚠️ WARNING ⚠️** The construction of random wallet in itself is **deprecated**, in particular the restoration from an encrypted root private key. These endpoints exist to ease migrations from legacy software such as `cardano-sl` but should be avoided by new applications. * @summary Restore * @param {Body12} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ postByronWallet(body: Body12, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** *

status: stable

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

status: stable

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

status: stable

Delete a Byron wallet. * @summary Delete * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteByronWallet(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} */ getByronUTxOsStatistics(walletId: string, options?: any): AxiosPromise; /** *

status: stable

Return information about a Byron wallet. * @summary Get * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getByronWallet(walletId: string, options?: any): AxiosPromise; /** *

status: stable

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

status: stable

Restore a Byron wallet from a mnemonic sentence or encrypted root private key (deprecated). **⚠️ WARNING ⚠️** The construction of random wallet in itself is **deprecated**, in particular the restoration from an encrypted root private key. These endpoints exist to ease migrations from legacy software such as `cardano-sl` but should be avoided by new applications. * @summary Restore * @param {Body12} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ postByronWallet(body: Body12, options?: any): AxiosPromise; /** *

status: stable

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

status: stable

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

status: stable

Delete a Byron wallet. * @summary Delete * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ByronWalletsApi */ deleteByronWallet(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 ByronWalletsApi */ getByronUTxOsStatistics(walletId: string, options?: any): Promise>; /** *

status: stable

Return information about a Byron wallet. * @summary Get * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ByronWalletsApi */ getByronWallet(walletId: string, options?: any): Promise>; /** *

status: stable

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

status: stable

Restore a Byron wallet from a mnemonic sentence or encrypted root private key (deprecated). **⚠️ WARNING ⚠️** The construction of random wallet in itself is **deprecated**, in particular the restoration from an encrypted root private key. These endpoints exist to ease migrations from legacy software such as `cardano-sl` but should be avoided by new applications. * @summary Restore * @param {Body12} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ByronWalletsApi */ postByronWallet(body: Body12, options?: any): Promise>; /** *

status: stable

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

status: stable

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