getMaxCollateral(params) returns what a Max button should fill in, and which limit stopped it there — so a UI can explain why, rather than showing a number that refuses to grow.
OstiumSubgraphClient for the protocol-side limits only.
Parameters
Response schema
groupCollateral can come back as "unknown" when the vault balance could not be read. max then reflects only the limits that were checked.