Gateway

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

post/gateway/wallets/show-private-key

Request body

chainstring required

Blockchain chain (e.g., 'solana', 'ethereum')

addressstring required

Wallet address

passphrasestring required

Gateway passphrase for decryption

Response

Successful Response

object required

Changes

Changed in 2 of the 13 revisions of this API.3

    • added the optional property detail/items/ctx to the response with the 422 status

      response-optional-property-added

    • added the optional property detail/items/input to the response with the 422 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added