Updates the trading settings for the authenticated user on a specific chain.
User
server (Port 5000).EthereumTradingSettings
, BaseTradingSettings
, or SolanaTradingSettings
).findOneAndUpdate
with { new: true, upsert: true }
to update existing settings or create them if they don’t exist for the user.TradingSettingsUpdated
event via Socket.IO to notify connected clients of the change.Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The blockchain network ('eth', 'base', 'sol').
eth
, base
, sol
Payload to update trading settings. Include only the fields to be changed.
Successful update of trading settings.
The response is of type object
.