Documentation Index
Fetch the complete documentation index at: https://turnkey-0e7c1f5b-amir-tx-status-webhooks.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key
WebAuthn (Passkey)
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here.
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here.
Body
Unique identifier for a given organization.
Unique identifier for a given private key.
Response
A successful response returns the following fields:
privateKey field
Unique identifier for a given Private Key.
The public component of a cryptographic key pair used to sign messages and transactions.
privateKey.privateKeyName
Human-readable name for a Private Key.
curve fieldEnum options: CURVE_SECP256K1, CURVE_ED25519, CURVE_P256
Derived cryptocurrency addresses for a given Private Key.
privateKey.addresses.format
format fieldEnum options: ADDRESS_FORMAT_UNCOMPRESSED, ADDRESS_FORMAT_COMPRESSED, ADDRESS_FORMAT_ETHEREUM, ADDRESS_FORMAT_SOLANA, ADDRESS_FORMAT_COSMOS, ADDRESS_FORMAT_TRON, ADDRESS_FORMAT_SUI, ADDRESS_FORMAT_APTOS, ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH, ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH, ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH, ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH, ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR, ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH, ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH, ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH, ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH, ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR, ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH, ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH, ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH, ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH, ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR, ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH, ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH, ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH, ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH, ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR, ADDRESS_FORMAT_SEI, ADDRESS_FORMAT_XLM, ADDRESS_FORMAT_DOGE_MAINNET, ADDRESS_FORMAT_DOGE_TESTNET, ADDRESS_FORMAT_TON_V3R2, ADDRESS_FORMAT_TON_V4R2, ADDRESS_FORMAT_TON_V5R1, ADDRESS_FORMAT_XRP
privateKey.addresses.address
privateKey.privateKeyTags
A list of Private Key Tag IDs.Show privateKeyTags details
privateKey.privateKeyTags.item
createdAt field
privateKey.createdAt.seconds
privateKey.createdAt.nanos
updatedAt field
privateKey.updatedAt.seconds
privateKey.updatedAt.nanos
True when a given Private Key is exported, false otherwise.
True when a given Private Key is imported, false otherwise.
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: <string> (see Authorizations)" \
--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": "<boolean>",
"imported": "<boolean>"
}
}