cURL
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>" } '
Creates a new wallet. The address is normalized to lowercase and validated as a hex Ethereum address (0x + 40 hex chars).
Clerk session token. Use Authorization: Bearer .
Ethereum address. Normalized to lowercase on the server.
^0x[a-fA-F0-9]{40}$
Client-side encrypted private key.
{ success, data: { wallet } }
Was this page helpful?