curl --request POST \
--url https://api.turnkey.com/public/v1/submit/create_tvc_operator \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"type": "ACTIVITY_TYPE_CREATE_TVC_OPERATOR",
"timestampMs": "<string> (e.g. 1746736509954)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"walletName": "<string>",
"walletId": "<string>",
"path": "<string>",
"operatorName": "<string>"
}
}'
import { Turnkey } from "@turnkey/sdk-server";
const turnkeyClient = new Turnkey({
apiBaseUrl: "https://api.turnkey.com",
apiPublicKey: process.env.API_PUBLIC_KEY!,
apiPrivateKey: process.env.API_PRIVATE_KEY!,
defaultOrganizationId: process.env.ORGANIZATION_ID!,
});
const response = await turnkeyClient.apiClient().createTvcOperator({
walletName: "<string> (Human-readable name for a new wallet created for this TVC operator)",
walletId: "<string> (Unique identifier for an existing wallet to reuse for this TVC operator)",
path: "<string> (Base derivation path for creating TVC operator wallet accounts)",
operatorName: "<string> (Human-readable name for this new TVC operator)"
});
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_CREATE_TVC_OPERATOR",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"activity": {
"id": "<string>",
"organizationId": "<string>",
"status": "<string>",
"type": "<string>",
"intent": {
"createTvcOperatorIntent": {
"walletName": "<string>",
"walletId": "<string>",
"path": "<string>",
"operatorName": "<string>"
}
},
"result": {
"createTvcOperatorResult": {
"walletId": "<string>",
"operatorId": "<string>",
"encryptPublicKey": "<string>",
"signPublicKey": "<string>"
}
},
"votes": "<array>",
"fingerprint": "<string>",
"canApprove": "<boolean>",
"canReject": "<boolean>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
}
}
Activities
Create TVC operator
Create a TVC operator backed by uncompressed P-256 Turnkey wallet accounts.
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/create_tvc_operator \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"type": "ACTIVITY_TYPE_CREATE_TVC_OPERATOR",
"timestampMs": "<string> (e.g. 1746736509954)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"walletName": "<string>",
"walletId": "<string>",
"path": "<string>",
"operatorName": "<string>"
}
}'
import { Turnkey } from "@turnkey/sdk-server";
const turnkeyClient = new Turnkey({
apiBaseUrl: "https://api.turnkey.com",
apiPublicKey: process.env.API_PUBLIC_KEY!,
apiPrivateKey: process.env.API_PRIVATE_KEY!,
defaultOrganizationId: process.env.ORGANIZATION_ID!,
});
const response = await turnkeyClient.apiClient().createTvcOperator({
walletName: "<string> (Human-readable name for a new wallet created for this TVC operator)",
walletId: "<string> (Unique identifier for an existing wallet to reuse for this TVC operator)",
path: "<string> (Base derivation path for creating TVC operator wallet accounts)",
operatorName: "<string> (Human-readable name for this new TVC operator)"
});
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_CREATE_TVC_OPERATOR",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"activity": {
"id": "<string>",
"organizationId": "<string>",
"status": "<string>",
"type": "<string>",
"intent": {
"createTvcOperatorIntent": {
"walletName": "<string>",
"walletId": "<string>",
"path": "<string>",
"operatorName": "<string>"
}
},
"result": {
"createTvcOperatorResult": {
"walletId": "<string>",
"operatorId": "<string>",
"encryptPublicKey": "<string>",
"signPublicKey": "<string>"
}
},
"votes": "<array>",
"fingerprint": "<string>",
"canApprove": "<boolean>",
"canReject": "<boolean>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
}
}
A successful response returns the following fields:
Was this page helpful?