Skip to main content
POST
/
api
/
wallets
Add wallet
curl --request POST \
  --url https://app.d-sports.org/api/wallets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "<string>",
  "encryptedPrivateKey": "<string>"
}
'

Authorizations

Authorization
string
header
required

Clerk session token. Use Authorization: Bearer .

Body

application/json
address
string
required

Ethereum address. Normalized to lowercase on the server.

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

Client-side encrypted private key.

Response

{ success, data: { wallet } }