@dashevo/wallet-lib
Version:
Light wallet library for Dash
13 lines (8 loc) • 795 B
Markdown
**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