Credit Actions
Lock Collateral
Creates list of contract calls to lock assets as collateral for credit account. Supports both underlying assets (e.g., USDC) which are wrapped into earn vault first, and earn positions (e.g., gtUSDCp) which are deposited directly.
GET
The
asset parameter is the credit asset symbol — currently supported values are usdc and eure. The earnAsset query parameter is the collateral asset address (underlying token like USDC, or an earn position like gtUSDCp).Path Parameters
Account that holds the asset and will execute calls
Credit asset symbol (e.g. usdc, eure)
Query Parameters
Amount in lowest denomination (e.g., wei for ETH)
Asset address in eth format - either underlying asset (USDC) or earn position (gtUSDCp)
Earn strategy to wrap asset before depositing. If omitted, asset is deposited directly without wrapping.
Response
List of contract calls to execute locking of collateral