Usage
Parameters
encryptKey(string): A user-defined code or password used to encrypt the wallet’s private key.externalUserId(string): Your application’s unique identifier for the userchain(Chain): The blockchain network for the wallet. UseChain.STARKNET.bearerToken(string): Bearer token for authentication
Return Value
Returns a Promise that resolves toCreateWalletResponse — a flat object with:
publicKey: The wallet’s public key / addressencryptedPrivateKey: The encrypted private key (store securely)walletType: The wallet type ("CHIPI"or"READY")chain: The blockchain networkisDeployed: Whether the wallet contract is deployednormalizedPublicKey: Normalized form of the public keyapiPublicKey: The organization’s API public keyid,externalUserId,organizationId,createdAt,updatedAt
