Create Wallet
Enables the creation of a Smart Wallet using Alchemy Signer. It allows applications to authenticate users and facilitate signature operations on their behalf. A Smart Wallet is either an on-chain Modular Account with Alchemy Signer as the owner, a standalone EOA signer managed through Alchemy Signer, or a standalone Solana Wallet managed through the Alchemy Signer.
Headers
Request
Optional. Used for user authentication when passkey is not provided. Specifies the user’s email address.
Optional. Used for authentication when email is not provided. Enables passkey-based authentication.
Authentication of a client is done via an HPKE flow that allows the client and TEE to exchange an encrypted bundle without revealing it to a middleman (you, us, or Turnkey). The targetPublicKey is the public key that the client uses to decrypt the shared secret.
See more in the Turnkey Docs.
Optional. Specifies the duration of the login session in seconds. After this period, the user has to re-login to refresh their session. The default value is 900 seconds (15 minutes).
Response
Wallet creation response.
The organization ID associated with the user and application, enabling the management of Smart Wallets.