Skip to main content
POST
/
api
/
wallets
/
private-key
Get private key
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>"
}
'

Authorizations

Authorization
string
header
required

Clerk session token. Use Authorization: Bearer .

Body

application/json
address
string
required

Ethereum address. Normalized to lowercase.

Pattern: ^0x[a-fA-F0-9]{40}$

Response

{ success, data: { privateKey } }