cURL
curl --request POST \ --url https://app.d-sports.org/api/wallets/private-key \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "address": "<string>" } '
Returns the encrypted private key for a wallet. Only the wallet owner can access it. The address is normalized to lowercase before lookup.
Clerk session token. Use Authorization: Bearer .
Ethereum address. Normalized to lowercase.
^0x[a-fA-F0-9]{40}$
{ success, data: { privateKey } }
Was this page helpful?