Use different account
New site!
All content has been migrated to docs.dash.org. You will be automatically redirected momentarily.
Using a different account
Clients initialized with a mnemonic support multiple accounts as defined in BIP44.
By default client.wallet.getAccount()
returns the account at index 0
.
To access other accounts, pass the index
option:
const secondAccount = await client.wallet.getAccount({ index: 1 })
Updated about 1 year ago