Overview
Creates a new wallet for sub-organization.- This function creates a new wallet for the current sub-organization.
- If an organizationId is provided, the wallet will be created under that specific sub-organization; otherwise, it uses the current session’s organizationId.
- If a list of address formats is provided, accounts will be created in the wallet based on those formats (starting from path index 0).
- If a list of account parameters is provided, those accounts will be created in the wallet.
- If no accounts or address formats are provided, default Ethereum and Solana accounts will be created.
- Optionally allows specifying the mnemonic length for the wallet seed phrase (defaults to 12).
- Optionally allows stamping the request with a specific stamper (StamperType.Passkey, StamperType.ApiKey, or StamperType.Wallet).
Package: core
Defined in: core.ts:3270
Parameters
Response
A successful response returns the following fields:A promise that resolves to the ID of the newly created wallet.