Skip to main content

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 user
  • chain (Chain): The blockchain network for the wallet. Use Chain.STARKNET.
  • bearerToken (string): Bearer token for authentication

Return Value

Returns a Promise that resolves to CreateWalletResponse — a flat object with:
  • publicKey: The wallet’s public key / address
  • encryptedPrivateKey: The encrypted private key (store securely)
  • walletType: The wallet type ("CHIPI" or "READY")
  • chain: The blockchain network
  • isDeployed: Whether the wallet contract is deployed
  • normalizedPublicKey: Normalized form of the public key
  • apiPublicKey: The organization’s API public key
  • id, externalUserId, organizationId, createdAt, updatedAt

Example Implementation

  • getWallet - Retrieve existing wallet information
  • transfer - Send tokens from the created wallet