Overview

Creates new accounts in the specified wallet.
  • This function creates new wallet accounts based on the provided account parameters or address formats.
  • If a walletId is provided, it creates the accounts in that specific wallet; otherwise, it uses the current session’s wallet.
  • If a list of address formats is provided, it will create accounts in the wallet based on those formats, automatically determining the next available path indexes to avoid duplicates with existing accounts.
  • If account parameters are provided, they are used directly for account creation.
  • Automatically queries existing wallet accounts to prevent duplicate account creation for the same address format and path.
  • Supports stamping the request with a specific stamper (StamperType.Passkey, StamperType.ApiKey, or StamperType.Wallet).

Package: core

Defined in: core.ts:3107

Parameters

params
object
required

Response

A successful response returns the following fields:
returns
string[]
required
A promise that resolves to an array of addresses for the newly created accounts.