Enable/disable collateral
GET/v1/actions/lending/enable-collateral
Build calldata for toggling an asset as collateral. Supported on lenders with explicit collateral toggles (Aave V2/V3, Compound V2 via enterMarkets/exitMarket); other lenders return a 400. Identify the market via marketUid (format: lender:chainId:address).
Request
Responses
- 200
- 400
Transaction calldata
Validation error