UNPKG

@dashevo/wallet-lib

Version:
13 lines (8 loc) 795 B
**Usage**: `storage.importAccounts(accounts, walletId)` **Description**: Allow to import one or multiple accounts (Account store representation) to the wallet store based on it's walletId. Parameters: | parameters | type | required | Description | |------------------------|-------------------|----------------| ------------------------------------------------------------------------| | **accounts** | Array[AccountObj] | yes | The array of account object to import to the store | | **walletId** | String | yes | The wallet id to attach the account to | Returns: Boolean