/** * 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 { InlineResponse2001 } from '../models'; import { InlineResponse2002 } from '../models'; /** * ByronAssetsApi - axios parameter creator * @export */ export declare const ByronAssetsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Fetch a single asset from its `policy_id` and `asset_name`, with its metadata if any. The asset must be associated with the wallet. * @summary Get Asset * @param {string} walletId * @param {string} policyId * @param {string} assetName * @param {*} [options] Override http request option. * @throws {RequiredError} */ getByronAsset: (walletId: string, policyId: string, assetName: string, options?: any) => Promise; /** * Fetch the the asset from `policy_id` with an empty name. The asset must be associated with the wallet. * @summary Get Asset (empty name) * @param {string} walletId * @param {string} policyId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getByronAssetDefault: (walletId: string, policyId: string, options?: any) => Promise; /** * List all assets associated with the wallet, and their metadata if known. An asset is _associated_ with a wallet if it is involved in a transaction of the wallet. * @summary List Assets * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ listByronAssets: (walletId: string, options?: any) => Promise; }; /** * ByronAssetsApi - functional programming interface * @export */ export declare const ByronAssetsApiFp: (configuration?: Configuration) => { /** * Fetch a single asset from its `policy_id` and `asset_name`, with its metadata if any. The asset must be associated with the wallet. * @summary Get Asset * @param {string} walletId * @param {string} policyId * @param {string} assetName * @param {*} [options] Override http request option. * @throws {RequiredError} */ getByronAsset(walletId: string, policyId: string, assetName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Fetch the the asset from `policy_id` with an empty name. The asset must be associated with the wallet. * @summary Get Asset (empty name) * @param {string} walletId * @param {string} policyId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getByronAssetDefault(walletId: string, policyId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List all assets associated with the wallet, and their metadata if known. An asset is _associated_ with a wallet if it is involved in a transaction of the wallet. * @summary List Assets * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ listByronAssets(walletId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; }; /** * ByronAssetsApi - factory interface * @export */ export declare const ByronAssetsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Fetch a single asset from its `policy_id` and `asset_name`, with its metadata if any. The asset must be associated with the wallet. * @summary Get Asset * @param {string} walletId * @param {string} policyId * @param {string} assetName * @param {*} [options] Override http request option. * @throws {RequiredError} */ getByronAsset(walletId: string, policyId: string, assetName: string, options?: any): AxiosPromise; /** * Fetch the the asset from `policy_id` with an empty name. The asset must be associated with the wallet. * @summary Get Asset (empty name) * @param {string} walletId * @param {string} policyId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getByronAssetDefault(walletId: string, policyId: string, options?: any): AxiosPromise; /** * List all assets associated with the wallet, and their metadata if known. An asset is _associated_ with a wallet if it is involved in a transaction of the wallet. * @summary List Assets * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} */ listByronAssets(walletId: string, options?: any): AxiosPromise>; }; /** * ByronAssetsApi - object-oriented interface * @export * @class ByronAssetsApi * @extends {BaseAPI} */ export declare class ByronAssetsApi extends BaseAPI { /** * Fetch a single asset from its `policy_id` and `asset_name`, with its metadata if any. The asset must be associated with the wallet. * @summary Get Asset * @param {string} walletId * @param {string} policyId * @param {string} assetName * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ByronAssetsApi */ getByronAsset(walletId: string, policyId: string, assetName: string, options?: any): Promise>; /** * Fetch the the asset from `policy_id` with an empty name. The asset must be associated with the wallet. * @summary Get Asset (empty name) * @param {string} walletId * @param {string} policyId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ByronAssetsApi */ getByronAssetDefault(walletId: string, policyId: string, options?: any): Promise>; /** * List all assets associated with the wallet, and their metadata if known. An asset is _associated_ with a wallet if it is involved in a transaction of the wallet. * @summary List Assets * @param {string} walletId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ByronAssetsApi */ listByronAssets(walletId: string, options?: any): Promise>; }