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": "ETH",
"clientKeygenIds": [
"<string>"
],
"thresholdSignatureScheme": "TWO_OF_TWO"
}'
{
"roomId": "<string>",
"serverKeygenIds": [
"<string>"
],
"newServerKeygenIds": [
"<string>"
],
"walletId": "95b11417-f18f-457f-8804-68e361f9164f"
}
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": "ETH",
"clientKeygenIds": [
"<string>"
],
"thresholdSignatureScheme": "TWO_OF_TWO"
}'
{
"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
The body is of type object
.
Successfully created a room for wallet private key import ceremony
The response is of type object
.
Was this page helpful?