---
title: "Build transaction calls to draw credit"
method: GET
path: "/credit/accounts/{account}/draw"
tags: ["Credit"]
---

# Build transaction calls to draw credit

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

## Request

- Base URL: `https://api.sprinter.tech`
- URL: `https://api.sprinter.tech/credit/accounts/{account}/draw`
- Auth: none declared

Returns the calls needed to draw credit. If the user has sufficient
registered collateral, the drawCredit call is returned.

## Path parameters

- `account` string, required

## Query parameters

- `amount` string, required
- `receiver` string, required

## Response `200`

List of contract calls to execute drawing credit

- CreditDrawCreditResponse
  - `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 insufficient collateral
- `401`: Unauthorized
- `500`: Internal server error

## Changes

- **2026-04-02** `ce8ff009580d`: 2 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
  - the endpoint scheme security `BearerAuth` 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`
- **2026-03-24** `a09cd74d2a58`: 2 info
  - the endpoint scheme security `BearerAuth` was added to the API
  - the endpoint scheme security `BearerAuth.` was removed from the API

[Operation history](https://skmtc.dev/sprintertech/apis/sprinter-api/changes/credit/accounts/:account/draw/get.md)

---

[API](https://skmtc.dev/sprintertech/apis/sprinter-api.md) - [All operations](https://skmtc.dev/sprintertech/apis/sprinter-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sprintertech/apis/sprinter-api/revisions/1713381f8993?raw)
