Credit

Build transaction calls to draw credit

Changed on

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

get/credit/accounts/{account}/draw

Request

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

Path parameters

accountstring required

User account address (borrower)

Query parameters

amountstring required

Amount to borrow (in wei)

receiverstring required

Address to receive the borrowed funds

Response

List of contract calls to execute drawing credit

Changes

    • info

      the endpoint scheme security ApiKeyAuth was removed from the API

    • info

      the endpoint scheme security BearerAuth was removed from the API

    • breaking

      the // response's property type changed from string to array for status

    • breaking

      the // response's property type changed from string to array for status

    • breaking

      the // response's property type changed from string to object for status