> ## Documentation Index
> Fetch the complete documentation index at: https://condor.hummingbot.org/llms.txt
> Use this file to discover all available pages before exploring further.

# 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>"
}



## OpenAPI

````yaml /api-reference/openapi.json post /gateway/wallets/show-private-key
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /gateway/wallets/show-private-key:
    post:
      tags:
        - Gateway
      summary: Show Private Key
      description: |-
        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>"
        }
      operationId: show_private_key_gateway_wallets_show_private_key_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShowPrivateKeyRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: >-
                  Response Show Private Key Gateway Wallets Show Private Key
                  Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    ShowPrivateKeyRequest:
      properties:
        chain:
          type: string
          title: Chain
          description: Blockchain chain (e.g., 'solana', 'ethereum')
        address:
          type: string
          title: Address
          description: Wallet address
        passphrase:
          type: string
          title: Passphrase
          description: Gateway passphrase for decryption
      type: object
      required:
        - chain
        - address
        - passphrase
      title: ShowPrivateKeyRequest
      description: Request to show private key for a wallet
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````