---
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

## Changes

- **2026-04-08** `92703f48a69e` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-01-17** `daa29248aacc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hummingbot/apis/hummingbot-api/changes/gateway/wallets/show-private-key/post.md)

---

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