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). When it doesn't fit, binding names the blocking tier, shortfallUsdc says by how much, and markets shows where each market's tokens land.

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.

binding
enum<string> | null
required

Which tier blocks the batch; null when it fits. internal = the batch adds too much unmatched surplus; external = the paired USDC doesn't fit the yield vault.

Available options:
internal,
external,
null
shortfallUsdc
string
required

USDC the batch overshoots the binding tier by (6-dec string); "0" when it fits.

markets
object[]
required

One entry per supplied conditionId, in order; empty when no batch was supplied.