tRPC Endpoints
User Swap Preferences (tRPC)
User-global and portfolio-scoped swap preference overrides.
POST
This namespace exposes authenticated wallet-scoped settings endpoints:
userSwapPreferences.getUserGlobaluserSwapPreferences.upsertUserGlobaluserSwapPreferences.resetUserGlobaluserSwapPreferences.getPortfoliouserSwapPreferences.upsertPortfoliouserSwapPreferences.resetPortfoliouserSwapPreferences.getEffective
No endpoint exists to mutate Glider defaults. Defaults are code constants and are read-only.
Payload Contract
config is a patch object with optional keys:
thresholdUsd: decimal string (for example"2.00")slippageBps: integer0..1000priceImpactBps: integer0..1000