Max collateral swap range
GET/v1/data/loop/range/collateral-swap
Compute the maximum amount for a collateral swap.
The max swappable amount equals the user's collateral deposit in the source (input) asset.
Requires positions[] in the POST body (or account for GET) to read the user's collateral balances.
Request
Responses
- 200
- 400
Max collateral swap range
Validation error