Treasury
Create and manage treasury wallets. Each venture has one treasury—an ERC-4337 smart account on Base mainnet.
POST
/v1/ventures/:venture_id/treasuryCreate a treasury wallet for the venture. Idempotent—returns existing treasury if one already exists.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| venture_id | string | Yes | Venture ID |
Creates an ERC-4337 smart account on Base mainnet. No request body required.
Response (200 OK / 201 Created)json
{
"id": "treas_xyz789",
"venture_id": "vent_abc123",
"cdp_wallet_id": "cdp_abc",
"address": "0x1234567890abcdef1234567890abcdef12345678",
"network": "base-mainnet",
"created_at": "2025-03-04T12:00:00Z"
}GET
/v1/ventures/:venture_id/treasuryGet treasury details for a venture.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| venture_id | string | Yes | Venture ID |
Response (200 OK)json
{
"id": "treas_xyz789",
"venture_id": "vent_abc123",
"cdp_wallet_id": "cdp_abc",
"address": "0x1234567890abcdef1234567890abcdef12345678",
"network": "base-mainnet",
"created_at": "2025-03-04T12:00:00Z"
}