Skip to main content

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

Max collateral swap range