Calldata to lock asset as 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.
Path parameters
Account that holds the asset and will execute calls
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
Changes
Changed in 4 of the 9 revisions of this API.63
- ○
the endpoint scheme security
ApiKeyAuthwas removed from the APIapi-security-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the
calls/items/dataresponse's property type/format changed fromstring/toarray/for status200response-property-type-changed
- ▲
the
calls/items/toresponse's property type/format changed fromstring/toarray/for status200response-property-type-changed
- ▲
the
calls/items/valueresponse's property type/format changed fromstring/toobject/for status200response-property-type-changed
- ▲
- ▲
the
calls/items/dataresponse's property type/format changed fromarray/tostring/for status200response-property-type-changed
- ▲
the
calls/items/toresponse's property type/format changed fromarray/tostring/for status200response-property-type-changed
- ▲
the
calls/items/valueresponse's property type/format changed fromobject/tostring/for status200response-property-type-changed
- ▲
- ○
the endpoint scheme security
ApiKeyAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
ApiKeyAuth.was removed from the APIapi-security-removed
- ○