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