Skip to main content
Update the authenticated user’s profile settings including strategy, protocols, chains, and advanced customization options. Requires SIWE authentication.

Signature

Parameters

Note on asset parameter:
  • Each asset (USDC, WETH, EURC) has its own customization settings
  • When asset is not provided, defaults to "USDC"
  • Use asset: "WETH" or asset: "EURC" to update settings for that asset
  • This allows different strategies, protocols, and splitting configurations per asset
Note:
  • Smart wallet address and chains can only be configured through backend initialization and cannot be updated via this method.
  • executorProxy is always true and cannot be updated.
  • For granular protocol/pool configuration, use the customizeBatch method instead of the customization field.

Returns

Examples

Basic Strategy Update

Configure Protocols

Enable Advanced Features

Complete Profile Configuration

Custom Protocol/Pool Configuration

For granular control over which pools to use for each protocol on each chain, use the dedicated customizeBatch method:
See the customizeBatch documentation for more details.

Use Cases

Risk Management

Multi-Chain Operations

Protocol Selection

Position Splitting

Asset-Specific Configuration

Notes

Strategy Changes

  • On first depositFunds, the optional strategy parameter sets the initial risk profile (default: "conservative")
  • You can change the strategy at any time after onboarding
  • After the strategy is updated, subsequent rebalancing uses the new active strategy
  • Data methods such as getUserDetails, getPositions, and getHistory return data for the current active strategy

Chain Configuration

  • Chains are configured during initial user setup via the backend and cannot be updated through this method
  • To view configured chains, use getUserDetails() which returns the chains array
  • Supported chains: Base (8453), Arbitrum (42161), Ethereum Mainnet (1)
  • When crosschainStrategy is enabled, the rebalance engine can move funds between your configured chains
  • Each chain must have sufficient gas tokens (ETH) for operations
  • Contact support or use backend APIs to modify chain configuration

Position Splitting

  • splitting enables distributing funds across multiple protocols/pools, only when profitable if minSplits is set to 1.
  • minSplits sets the minimum number of positions (1-4), if above 1, it will force split the funds across the minimum number of positions.
  • Higher minSplits values increase diversification but may increase gas costs
  • The rebalance engine respects minimum position sizes when splitting

Customization Field

  • The customization field allows granular control over protocol/pool selection per chain
  • Structure: { "protocolId": { "chainId": ["pool1", "pool2"] } }
  • This overrides automatic pool selection for specified protocols
  • Useful for advanced users who want to target specific pools

Auto-compounding

  • When autocompounding is true (default), yields are automatically reinvested
  • When false, yields accumulate but are not reinvested
  • Most users should keep this enabled for maximum compound growth