UNPKG

@venly/venly-core-sdk

Version:

Javascrip/Typescript SDK for Venly's Web3 Services

22 lines 948 B
import { VyPromise } from '../core'; import * as wallet from '../models/wallet/index'; import { VyApiBase } from './VyApiBase'; import { VyWalletAPI_Gen } from './VyWalletAPI.generated'; export declare class VyWalletAPI extends VyWalletAPI_Gen { constructor(apiBase: VyApiBase); /** * Archive a wallet * @param {string} id - The id of the wallet * @param {VyUserAuth} signingMethod - This operation requires a valid Signing-Method from the corresponding user * @returns {VyWalletDto} Updated Wallet */ archiveWallet(id: string): VyPromise<wallet.VyWalletDto>; /** * Unarchive a wallet * @param {string} id - The id of the wallet * @param {VyUserAuth} signingMethod - This operation requires a valid Signing-Method from the corresponding user * @returns {VyWalletDto} Updated Wallet */ unarchiveWallet(id: string): VyPromise<wallet.VyWalletDto>; } //# sourceMappingURL=VyWalletAPI.d.ts.map