/** * 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 { ApiPostAccountKeyData } from '../models'; /** * KeysApi - axios parameter creator * @export */ export declare const KeysApiAxiosParamCreator: (configuration?: Configuration) => { /** *

status: stable

Return a public key for a given role and derivation index. Note: Only `Soft` indexes are supported by this endpoint. * @summary Get Public Key * @param {string} walletId * @param {string} role * @param {string} index * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWalletKey: (walletId: string, role: string, index: string, options?: any) => Promise; /** *

status: stable

Retrieve account public key from the wallet. Note: Only `Hard` indexes are supported by this endpoint. * @summary Create * @param {ApiPostAccountKeyData} body * @param {string} walletId * @param {string} index * @param {*} [options] Override http request option. * @throws {RequiredError} */ postAccountKey: (body: ApiPostAccountKeyData, walletId: string, index: string, options?: any) => Promise; }; /** * KeysApi - functional programming interface * @export */ export declare const KeysApiFp: (configuration?: Configuration) => { /** *

status: stable

Return a public key for a given role and derivation index. Note: Only `Soft` indexes are supported by this endpoint. * @summary Get Public Key * @param {string} walletId * @param {string} role * @param {string} index * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWalletKey(walletId: string, role: string, index: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** *

status: stable

Retrieve account public key from the wallet. Note: Only `Hard` indexes are supported by this endpoint. * @summary Create * @param {ApiPostAccountKeyData} body * @param {string} walletId * @param {string} index * @param {*} [options] Override http request option. * @throws {RequiredError} */ postAccountKey(body: ApiPostAccountKeyData, walletId: string, index: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * KeysApi - factory interface * @export */ export declare const KeysApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** *

status: stable

Return a public key for a given role and derivation index. Note: Only `Soft` indexes are supported by this endpoint. * @summary Get Public Key * @param {string} walletId * @param {string} role * @param {string} index * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWalletKey(walletId: string, role: string, index: string, options?: any): AxiosPromise; /** *

status: stable

Retrieve account public key from the wallet. Note: Only `Hard` indexes are supported by this endpoint. * @summary Create * @param {ApiPostAccountKeyData} body * @param {string} walletId * @param {string} index * @param {*} [options] Override http request option. * @throws {RequiredError} */ postAccountKey(body: ApiPostAccountKeyData, walletId: string, index: string, options?: any): AxiosPromise; }; /** * KeysApi - object-oriented interface * @export * @class KeysApi * @extends {BaseAPI} */ export declare class KeysApi extends BaseAPI { /** *

status: stable

Return a public key for a given role and derivation index. Note: Only `Soft` indexes are supported by this endpoint. * @summary Get Public Key * @param {string} walletId * @param {string} role * @param {string} index * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof KeysApi */ getWalletKey(walletId: string, role: string, index: string, options?: any): Promise>; /** *

status: stable

Retrieve account public key from the wallet. Note: Only `Hard` indexes are supported by this endpoint. * @summary Create * @param {ApiPostAccountKeyData} body * @param {string} walletId * @param {string} index * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof KeysApi */ postAccountKey(body: ApiPostAccountKeyData, walletId: string, index: string, options?: any): Promise>; }