Skip to main content
POST
SDK Alternative: Use agent.activate(options) for a simpler TypeScript interface. See SDK docs

Description

Activates a new wallet for an agent. This endpoint must be called after the user has deposited funds to their smart account.

Request Body

string
required
The smart account wallet address
string
required
The user’s externally owned account (origin wallet)
string
required
The token address that was deposited (e.g., USDC)
string[]
required
List of protocol names to use for optimization
string
Transaction hash of the initial deposit (recommended)
array
Optional constraints for the agentConstraint types:
  • min_protocols - Minimum number of protocols to use
  • max_allocation_amount_per_protocol - Maximum amount per protocol
  • exclude_protocol - Protocols to exclude

Example Request

Response

string
Confirmation message
string
The wallet address that was activated
Response Example

Error Responses