curl --request POST \
--url https://api.turnkey.com/public/v1/query/list_private_keys \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '{
"organizationId": "<string>"
}'
{
"privateKeys": [
{
"privateKeyId": "<string>",
"publicKey": "<string>",
"privateKeyName": "<string>",
"curve": "CURVE_SECP256K1",
"addresses": [
{
"format": "ADDRESS_FORMAT_UNCOMPRESSED",
"address": "<string>"
}
],
"privateKeyTags": [
"<string>"
],
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"exported": true,
"imported": true
}
]
}
List all Private Keys within an Organization
curl --request POST \
--url https://api.turnkey.com/public/v1/query/list_private_keys \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '{
"organizationId": "<string>"
}'
{
"privateKeys": [
{
"privateKeyId": "<string>",
"publicKey": "<string>",
"privateKeyName": "<string>",
"curve": "CURVE_SECP256K1",
"addresses": [
{
"format": "ADDRESS_FORMAT_UNCOMPRESSED",
"address": "<string>"
}
],
"privateKeyTags": [
"<string>"
],
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"exported": true,
"imported": true
}
]
}
A successful response.
The response is of type object
.
Was this page helpful?