Skip to main content
GET
/
credit
/
accounts
/
{account}
/
draw
curl --request GET \
  --url 'https://api.sprinter.tech/credit/accounts/{account}/draw'
{
  "calls": [
    {
      "chain": "8453",
      "to": "0x1234567890abcdef1234567890abcdef12345678",
      "data": "0xa9059cbb000000000000000000000000000000000000000000000000000000000005f5e100",
      "value": "0"
    }
  ]
}
A 0.50% origination fee is deducted from each draw. See Fees for details.
curl --request GET \
  --url 'https://api.sprinter.tech/credit/accounts/{account}/draw'
{
  "calls": [
    {
      "chain": "8453",
      "to": "0x1234567890abcdef1234567890abcdef12345678",
      "data": "0xa9059cbb000000000000000000000000000000000000000000000000000000000005f5e100",
      "value": "0"
    }
  ]
}

Path Parameters

account
string
required

User account address (borrower)

Query Parameters

amount
string
required

Amount to borrow (in wei)

receiver
string
required

Address to receive the borrowed funds

Response

List of contract calls to execute drawing credit

calls
object[]
required