Credit
Call data to unlock collateral
Creates list of contract calls to unlock and withdraw collateral and potentially unwrap position from earn vault
get/credit/accounts/{account}/unlock
Path parameters
accountstring required
Account that holds the asset and will execute calls
Query parameters
amountstring required
Amount in lowest denomination (e.g., wei for ETH)
assetstring required
Asset address in eth format
unwrapboolean
Whether to generate call to unwrap from earn strategy
Response
List of contract calls to execute unlocking of collateral