---
title: "Generate wallet"
method: POST
path: "/v1/agents/{agent_id}/wallet"
tags: ["Wallet"]
---

# Generate wallet

`POST /v1/agents/{agent_id}/wallet`

Generate a Hyperliquid trading wallet for the agent. Returns the existing wallet if one has already been generated. Required before enabling a trading agent.

## Path parameters

- `agent_id` string, uuid, required

## Response `201`

Wallet generated

- WalletResponse
  - `wallet_id` string
  - `address` string — Wallet address
  - `agent_address` string, nullable — Populated after wallet activation
  - `exchange` string
  - `chain_type` string
  - `status` string — Wallet status (e.g. pending, active)

## Other responses

- `401` — Invalid or revoked API key
- `404` — Resource not found

---

[API](https://skmtc.net/gigabraingg/apis/gigabrain-api.md) · [All operations](https://skmtc.net/gigabraingg/apis/gigabrain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gigabraingg/gigabrain-api/revisions/bb4070b30d92/schema)
