Unique identifier for a given Organization.
Unique identifier for a given Private Key.
privateKey field
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_private_key \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"organizationId": "<string>",
"privateKeyId": "<string>"
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_UNKNOWN_V1",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"privateKey": {
"privateKeyId": "<string>",
"publicKey": "<string>",
"privateKeyName": "<string>",
"curve": "<CURVE_SECP256K1>",
"addresses": [
{
"format": "<ADDRESS_FORMAT_UNCOMPRESSED>",
"address": "<string>"
}
],
"privateKeyTags": [
"<string_element>"
],
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"exported": true,
"imported": true
}
}
}
}
Get details about a Private Key
Show privateKey details
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_private_key \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"organizationId": "<string>",
"privateKeyId": "<string>"
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_UNKNOWN_V1",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"privateKey": {
"privateKeyId": "<string>",
"publicKey": "<string>",
"privateKeyName": "<string>",
"curve": "<CURVE_SECP256K1>",
"addresses": [
{
"format": "<ADDRESS_FORMAT_UNCOMPRESSED>",
"address": "<string>"
}
],
"privateKeyTags": [
"<string_element>"
],
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"exported": true,
"imported": true
}
}
}
}
Was this page helpful?