Vault deposit capacity
The vault’s GLOBAL (vault-wide) deposit capacity: remainingUsdc is how much USDC it can still absorb, and fits says whether a prospective batch would deposit without reverting. With no params it returns just the headroom. Pass a deposit batch (conditionIds + aligned yesAmounts/noAmounts) to also get fits — capacity is global, so submit the WHOLE batch for a correct answer. Wallet-agnostic; mirrors RobinLens.getDepositCapacity.
Query Parameters
Comma-separated condition ids of the prospective batch (max 25, unique). Omit for headroom only.
Comma-separated YES amounts (6-dec micro-units), aligned 1:1 with conditionIds.
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.
Whether a deposit of the supplied amounts fits right now (true if no amounts were supplied).
USDC the vault can still absorb now (6-dec string); null = uncapped.
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.
internal, external, null USDC the batch overshoots the binding tier by (6-dec string); "0" when it fits.
One entry per supplied conditionId, in order; empty when no batch was supplied.