Guides
Dash CoreDash PlatformDash.orgDash User DocsLog In
These docs are for v0.24.0. Click to read the latest docs for v0.25-redirect.

Use different account

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 })