Skip to main content
POST /api/v1/wallet/export-key Exports the private key for one of your active managed wallets.
Treat the returned private key as highly sensitive. Anyone who obtains it can control that wallet and its funds.

Parameters

wallet_type
string
required
Wallet type to export: eoa or safe.

Response

private_key
string
Hex-encoded private key for the requested wallet.

Notes

  • The requested wallet type must exist and be active on your account.
  • This endpoint exports the Privy-managed signing key for that wallet record.
  • If no active wallet of the requested type exists, the server returns 400.
curl -X POST "https://api.parsecapi.com/api/v1/wallet/export-key" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "wallet_type": "eoa" }'
{
  "private_key": "0xabc123..."
}