Agents
Activate Wallet
Activate a new wallet for an agent
POST
Documentation Index
Fetch the complete documentation index at: https://docs.gizatech.xyz/llms.txt
Use this file to discover all available pages before exploring further.
SDK Alternative: Use
agent.activate(options) for a simpler TypeScript interface. See SDK docsDescription
Activates a new wallet for an agent. This endpoint must be called after the user has deposited funds to their smart account.Request Body
The smart account wallet address
The user’s externally owned account (origin wallet)
The token address that was deposited (e.g., USDC)
List of protocol names to use for optimization
Transaction hash of the initial deposit (recommended)
Optional constraints for the agentConstraint types:
min_protocols- Minimum number of protocols to usemax_allocation_amount_per_protocol- Maximum amount per protocolexclude_protocol- Protocols to exclude
Example Request
Response
Confirmation message
The wallet address that was activated
Response Example
Error Responses
| Status | Description |
|---|---|
400 | Invalid input data |
403 | Access denied or deposit too large |
422 | Validation error |
500 | Internal server error |