Vaults are managed trading pools on Pacifica where a designated manager trades on behalf of limited partners (LPs). Depositors receive vault shares representing their proportional ownership; the manager earns a performance fee defined at vault creation. The REST API path uses the internal namespaceDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/pacifica-fi/docs-migrate/llms.txt
Use this file to discover all available pages before exploring further.
/api/v1/lake/*.
All POST endpoints on this page require request signing. See the Authentication guide for details.
POST /api/v1/lake/create — Create Vault
Creates a new vault and returns the generated vault account address. Optionally seeds the vault with an initial deposit and claims a referral code in the same request.This endpoint requires a signed request. Set the
type header field to "create_lake". See Authentication.manager_loss_share is currently disabled; omit it or pass "0".Creator wallet address.
Signature over the sorted request payload.
Current timestamp in milliseconds.
Manager wallet address. Omit to create a vault with no initial manager.
Display name for the vault.
Maximum LP balance accepted by the vault, e.g.
"1000000".Performance fee fraction in
[0, 1], e.g. "0.20" for 20%.Temporarily disabled; only
"0" is accepted.Minimum deposit lock duration in milliseconds.
Manager balance ratio required to claim or re-enable the vault.
Manager balance ratio that triggers a trading halt and liquidation.
Seed deposit from the creator in the same request.
Withdrawal cycle period in seconds.
Open withdrawal time per cycle in seconds.
Referral code to claim for the new vault.
Agent wallet address.
Signature expiry in milliseconds.
Generated vault account address.
Whether the optional referral code was successfully claimed.
POST /api/v1/lake/deposit — Deposit to Vault
Deposits USDC from an account into a vault and mints vault shares to the depositor. Deposits are idempotent when anidempotency_key is supplied.
This endpoint requires a signed request. Set the
type header field to "deposit_to_lake". See Authentication.Depositor wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Vault address.
Deposit amount in USDC.
Client-generated UUID to prevent duplicate deposits.
Agent wallet address.
Signature expiry in milliseconds.
Number of vault shares minted to the depositor.
POST /api/v1/lake/withdraw — Withdraw from Vault
Redeems vault shares and returns the proportional USDC to the depositor. Withdrawals are idempotent when anidempotency_key is supplied.
This endpoint requires a signed request. Set the
type header field to "withdraw_from_lake". See Authentication.Depositor wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Vault address.
Number of shares to redeem.
Client-generated UUID to prevent duplicate withdrawals.
Agent wallet address.
Signature expiry in milliseconds.
USDC amount returned to the depositor.
POST /api/v1/lake/claim_manager — Claim Vault Manager
Claims the manager role on a fresh vault that was created without a designated manager.This endpoint requires a signed request. Set the
type header field to "claim_lake_manager". See Authentication.Claimer wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Vault address.
Manager’s initial deposit amount.
Agent wallet address.
Signature expiry in milliseconds.
Number of manager shares minted to the claimer.
POST /api/v1/lake/claim_referral_code — Claim Vault Referral Code
Claims a referral code for an existing vault. Only the vault creator can call this endpoint.This endpoint requires a signed request. Set the
type header field to "claim_lake_referral". See Authentication.Creator wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Vault address.
Referral code to claim.
Agent wallet address.
Signature expiry in milliseconds.
POST /api/v1/lake/update_deposit_cap — Update Vault Deposit Cap
Updates or removes the LP deposit cap for a vault. Only the vault creator can call this endpoint.This endpoint requires a signed request. Set the
type header field to "update_lake_deposit_cap". See Authentication.Creator wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Vault address.
New LP deposit cap. Set to
null to remove the cap entirely.Agent wallet address.
Signature expiry in milliseconds.
POST /api/v1/lake/add_whitelist — Add Vault Whitelist
Adds symbols to the vault’s tradable whitelist. Only the vault creator can call this endpoint.This endpoint requires a signed request. Set the
type header field to "add_lake_whitelist". See Authentication.Creator wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Vault address.
Symbols to add, e.g.
["BTC", "ETH"].Agent wallet address.
Signature expiry in milliseconds.
POST /api/v1/lake/remove_whitelist — Remove Vault Whitelist
Removes symbols from the vault’s tradable whitelist. Only the vault creator can call this endpoint.This endpoint requires a signed request. Set the
type header field to "remove_lake_whitelist". See Authentication.Creator wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Vault address.
Symbols to remove from the whitelist.
Agent wallet address.
Signature expiry in milliseconds.
POST /api/v1/lake/add_blacklist — Add Vault Blacklist
Adds symbols to the vault’s blocked blacklist. Only the vault creator can call this endpoint.This endpoint requires a signed request. Set the
type header field to "add_lake_blacklist". See Authentication.Creator wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Vault address.
Symbols to block.
Agent wallet address.
Signature expiry in milliseconds.
POST /api/v1/lake/remove_blacklist — Remove Vault Blacklist
Removes symbols from the vault’s blocked blacklist. Only the vault creator can call this endpoint.This endpoint requires a signed request. Set the
type header field to "remove_lake_blacklist". See Authentication.Creator wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Vault address.
Symbols to remove from the blacklist.
Agent wallet address.
Signature expiry in milliseconds.
POST /api/v1/lake/add_max_leverage — Add Vault Max Leverage
Sets per-symbol maximum leverage caps for the vault. Only the vault creator can call this endpoint.This endpoint requires a signed request. Set the
type header field to "add_lake_max_leverage". See Authentication.Creator wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Vault address.
Symbols that should receive the leverage cap.
Maximum leverage to apply to every listed symbol.
Agent wallet address.
Signature expiry in milliseconds.
POST /api/v1/lake/remove_max_leverage — Remove Vault Max Leverage
Removes per-symbol maximum leverage caps from the vault. Only the vault creator can call this endpoint.This endpoint requires a signed request. Set the
type header field to "remove_lake_max_leverage". See Authentication.Creator wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Vault address.
Symbols whose custom leverage cap should be removed.
Agent wallet address.
Signature expiry in milliseconds.
GET /api/v1/lake/list — List Vaults
Returns all vaults ordered by creation time descending. Whenaccount is provided, the response includes that account’s share balance in each vault.
Request
Account address whose share balance should be included in the response.
List of vault objects.