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

# Build transaction calls to draw credit

`GET /credit/v2/accounts/{account}/assets/{asset}/draw`

## Request

- Base URL: `https://api.sprinter.tech`
- URL: `https://api.sprinter.tech/credit/v2/accounts/{account}/assets/{asset}/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
- `asset` 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-06-17** `a1172848364e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sprintertech/apis/untitled-api/changes/credit/v2/accounts/:account/assets/:asset/draw/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.dev/sprintertech/apis/untitled-api/revisions/1713381f8993?raw)
