latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-123353144.2 KB

1713381f8993

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/v2/accounts/{account}/assets/{asset}/unlock

Path parameters

accountstring required

Account that holds the asset and will execute calls

assetstring required

Credit asset symbol (e.g. usdc, eure)

Query parameters

amountstring required

Amount in lowest denomination (e.g., wei for ETH)

collateralstring 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