Skip to main content

Operation Type (for Signing)

Request Body

FieldTypeNeedDescriptionExample
”account”stringrequiredUser’s wallet address42trU9A5…
“privacy_mode”stringrequiredLeaderboard privacy level:
“none"
"anonymous"
"hidden”
hidden
”timestamp”integerrequiredCurrent timestamp in milliseconds1716200000000
”expiry_window”integeroptionalSignature expiry in milliseconds30000
”agent_wallet”stringoptionalAgent wallet address69trU9A5…
“signature”stringrequiredCryptographic signature5j1Vy9Uq…
This endpoint changes only the settings that you send. Settings that you leave out keep their current value. The request must contain at least one setting. privacy_mode is currently the only setting, so you must send it. You can sign this request with the account key or with an agent wallet. Privacy Modes To read the current value, call Get account settings.

Response

  • Status 200: Account settings updated successfully
  • Status 400: Invalid request parameters or signature. A request without a setting returns this error:
  • Status 500: Internal server error

Code Example (Python)