Import a private key to create a waas account
curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/waas/privateKey/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chain": "EVM",
"clientKeygenIds": [
"<string>"
],
"thresholdSignatureScheme": "TWO_OF_TWO",
"legacyWalletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"roomId": "<string>",
"serverKeygenIds": [
"<string>"
],
"newServerKeygenIds": [
"<string>"
],
"walletId": "95b11417-f18f-457f-8804-68e361f9164f"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
Import Private Key Request
EVM, SVM, SUI, BTC, TON A base58 string with a max length of 100 characters
100TWO_OF_TWO, TWO_OF_THREE, THREE_OF_FIVE Optional wallet ID of an existing legacy wallet being migrated
Successfully created a room for wallet private key import ceremony
A base58 string with a max length of 100 characters
100A base58 string with a max length of 100 characters
10036"95b11417-f18f-457f-8804-68e361f9164f"
Was this page helpful?
curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/waas/privateKey/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chain": "EVM",
"clientKeygenIds": [
"<string>"
],
"thresholdSignatureScheme": "TWO_OF_TWO",
"legacyWalletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"roomId": "<string>",
"serverKeygenIds": [
"<string>"
],
"newServerKeygenIds": [
"<string>"
],
"walletId": "95b11417-f18f-457f-8804-68e361f9164f"
}