v2

latestOpenAPI 3.0.12026-07-26334612609.5 KB
SDK

Import an existing private key to create a waas account

Import a private key to create a waas account

post/sdk/{environmentId}/waas/privateKey/import

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

Request body

chain'EVM' | 'SVM' | 'SUI' | 'BTC' | 'TON' required
clientKeygenIdsNonEmptyBase58StringWith100MaxLength[] required
thresholdSignatureScheme'TWO_OF_TWO' | 'TWO_OF_THREE' | 'THREE_OF_FIVE' required
legacyWalletIdstring uuid

Optional wallet ID of an existing legacy wallet being migrated

Response

Successfully created a room for wallet private key import ceremony

roomIdstring required
serverKeygenIdsNonEmptyBase58StringWith100MaxLength[] required
newServerKeygenIdsNonEmptyBase58StringWith100MaxLength[]
walletIdstring

Example response

{
  "walletId": "95b11417-f18f-457f-8804-68e361f9164f"
}