Operation Type (for Signing)
Request Body
| Field | Type | Need | Description | Example |
|---|---|---|---|---|
”account” | string | required | User’s wallet address | 42trU9A5… |
“privacy_mode” | string | required | Leaderboard privacy level:“none""anonymous""hidden” | hidden |
”timestamp” | integer | required | Current timestamp in milliseconds | 1716200000000 |
”expiry_window” | integer | optional | Signature expiry in milliseconds | 30000 |
”agent_wallet” | string | optional | Agent wallet address | 69trU9A5… |
“signature” | string | required | Cryptographic signature | 5j1Vy9Uq… |
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