enum<string>
required
Enum options:
ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHAREstring
required
Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
string
required
Unique identifier for a given Organization.
object
required
The parameters object containing the specific intent data for this activity.
Show details
Show details
object
required
shareApprovalBundle field
Show details
Show details
object
required
The activity object containing type, intent, and result
Show activity details
Show activity details
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/post_tvc_quorum_key_share \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"type": "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE",
"timestampMs": "<string> (e.g. 1746736509954)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"deploymentId": "<string>",
"ephemeralPublicKeyHex": "<string>",
"shareApprovalBundle": {
"operatorId": "<string>",
"reEncryptedShareHex": "<string>",
"signature": "<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().postTvcQuorumKeyShare({
deploymentId: "<string> (Unique identifier of the TVC deployment receiving quorum key share)",
ephemeralPublicKeyHex: "<string> (Hex-encoded ephemeral public key used to encrypt the quorum key share)",
shareApprovalBundle: { // shareApprovalBundle field,
operatorId: "<string> (Unique identifier of the operator providing this quorum key share)",
reEncryptedShareHex: "<string> (Hex-encoded re-encrypted quorum key share)",
signature: "<string> (Signature from the share set operator approving the manifest)",
}
});
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"activity": {
"id": "<string>",
"organizationId": "<string>",
"status": "<string>",
"type": "<string>",
"intent": {
"postTvcQuorumKeyShareIntent": {
"deploymentId": "<string>",
"ephemeralPublicKeyHex": "<string>",
"shareApprovalBundle": {
"operatorId": "<string>",
"reEncryptedShareHex": "<string>",
"signature": "<string>"
}
}
},
"result": {
"postTvcQuorumKeyShareResult": {
"provisioningShareId": "<string>"
}
},
"votes": "<array>",
"fingerprint": "<string>",
"canApprove": "<boolean>",
"canReject": "<boolean>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
}
}