Skip to main content
GET
Vault deposit capacity

Query Parameters

conditionIds
string

Comma-separated condition ids of the prospective batch (max 25, unique). Omit for headroom only.

yesAmounts
string

Comma-separated YES amounts (6-dec micro-units), aligned 1:1 with conditionIds.

noAmounts
string

Comma-separated NO amounts (6-dec micro-units), aligned 1:1 with conditionIds.

Response

Capacity headroom (and fits when a batch was supplied).

Global (vault-wide) deposit capacity. fits is whether the supplied batch would deposit without reverting; remainingUsdc is the USDC the vault can still absorb (already accounts for a disabled internal guard).

fits
boolean
required

Whether a deposit of the supplied amounts fits right now (true if no amounts were supplied).

remainingUsdc
string | null
required

USDC the vault can still absorb now (6-dec string); null = uncapped.