POST
/
public
/
v1
/
query
/
get_private_key
curl --request POST \
  --url https://api.turnkey.com/public/v1/query/get_private_key \
  --header 'Content-Type: application/json' \
  --header 'X-Stamp: <api-key>' \
  --data '{
  "organizationId": "<string>",
  "privateKeyId": "<string>"
}'
{
  "privateKey": {
    "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
  }
}

Authorizations

X-Stamp
string
header
required

Body

application/json
organizationId
string
required

Unique identifier for a given Organization.

privateKeyId
string
required

Unique identifier for a given Private Key.

Response

200 - application/json
A successful response.
privateKey
object
required