---
title: "Call data to unlock collateral"
method: GET
path: "/credit/accounts/{account}/unlock"
tags: ["Credit"]
---

# Call data to unlock collateral

`GET /credit/accounts/{account}/unlock`

Creates list of contract calls to unlock and withdraw
collateral and potentially unwrap position from earn vault

## Path parameters

- `account` string, required

## Query parameters

- `amount` string, required
- `asset` string, required
- `unwrap` boolean

## Response `200`

List of contract calls to execute unlocking of collateral

- CreditUnlockResponse
  - `calls` EvmContractCall[], required
    - `chain` string, required
    - `data` integer[], required
    - `to` integer[], required
    - `value` TypesBigInt, required

## Other responses

- `400` — Bad request due to invalid input or missing parameters
- `500` — Internal server error

## Changes

- **2026-04-02** `ce8ff009580d` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
- **2026-03-30** `30b6ea563119` — 3 breaking
  - the `calls/items/data` response's property type changed from `string` to `array` for status `200`
  - the `calls/items/to` response's property type changed from `string` to `array` for status `200`
  - the `calls/items/value` response's property type changed from `string` to `object` for status `200`
- **2026-03-30** `2a8a11e2dda0` — 3 breaking
  - the `calls/items/data` response's property type changed from `array` to `string` for status `200`
  - the `calls/items/to` response's property type changed from `array` to `string` for status `200`
  - the `calls/items/value` response's property type changed from `object` to `string` for status `200`

[Change history](https://skmtc.dev/sprintertech/apis/untitled-api/changes/credit/accounts/:account/unlock/get.md)

---

[API](https://skmtc.dev/sprintertech/apis/untitled-api.md) · [All operations](https://skmtc.dev/sprintertech/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sprintertech/untitled-api/revisions/1713381f8993/schema)
