Skip to main content
POST
/
launcher
/
set-user-score
Set User Score
curl --request POST \
  --url https://api.basement.fun/launcher/set-user-score \
  --header 'Content-Type: application/json' \
  --data '{
  "launcherJwt": "<string>",
  "nonce": "<string>",
  "score": 123
}'
{
  "success": true,
  "newScore": {
    "_id": "<string>",
    "nonce": "<string>",
    "gameId": "<string>",
    "normalizedAddress": "<string>",
    "score": 123,
    "updatedAt": 123
  }
}

Headers

X-Request-Nonce
string

Random string identifier for request (for signature verification)

X-Request-Signature
string

MD5 hash for request verification

Body

application/json
launcherJwt
string
required
score
integer
required
nonce
string

Random ID that can be used to query the score later

Response

Successful response

success
boolean
newScore
object
I