Agents
Create Smart Account
Create a new smart account for a user
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
giza.createAgent(eoa) for a simpler TypeScript interface. See SDK docsDescription
Creates a new ZeroDev smart account for a user’s externally owned account (EOA). The smart account address is deterministic — calling this endpoint with the same EOA and chain always returns the same address, so it is safe to call multiple times. This is the first step in the agentic integration flow. After creating the smart account, the user deposits funds to the returned address, then you activate the agent.Request Body
The user’s externally owned account (wallet) address.
Must be a valid Ethereum address (0x + 40 hex characters).
Chain ID for the smart account.Supported values:
1 (Ethereum), 137 (Polygon), 8453 (Base), 42161 (Arbitrum), 84532 (Base Sepolia), 11155111 (Sepolia)Agent identifier. Defaults to
giza-app.Example Request
Response
The created smart account address. This is where the user should deposit funds.
The Giza backend wallet that will hold session keys for agent operations.
Response Example
Error Responses
| Status | Description |
|---|---|
400 | Invalid input data |
401 | Unauthorized - invalid API key |
422 | Validation error (invalid address format) |
500 | Internal server error |