---
title: "Show Private Key"
method: POST
path: "/gateway/wallets/show-private-key"
tags: ["Gateway"]
---

# Show Private Key

`POST /gateway/wallets/show-private-key`

Show private key for a wallet.

WARNING: This endpoint exposes sensitive information. Use with caution.

Args:
    request: Contains chain, address, and passphrase

Returns:
    Dict with privateKey field.

Example: POST /gateway/wallets/show-private-key
{
    "chain": "solana",
    "address": "<wallet-address>",
    "passphrase": "<gateway-passphrase>"
}

## Request body

- ShowPrivateKeyRequest — Request to show private key for a wallet
  - `chain` string, required — Blockchain chain (e.g., 'solana', 'ethereum')
  - `address` string, required — Wallet address
  - `passphrase` string, required — Gateway passphrase for decryption

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/hummingbot/apis/hummingbot-api.md) · [All operations](https://skmtc.net/hummingbot/apis/hummingbot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hummingbot/hummingbot-api/revisions/5347fe79537f/schema)
