Credit

Build transaction calls to draw credit

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

get/credit/accounts/{account}/draw

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

Changed in 4 of the 9 revisions of this API.64

    • the endpoint scheme security ApiKeyAuth was removed from the API

      api-security-removed

    • the endpoint scheme security BearerAuth was removed from the API

      api-security-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the calls/items/data response's property type/format changed from string/ to array/ for status 200

      response-property-type-changed

    • the calls/items/to response's property type/format changed from string/ to array/ for status 200

      response-property-type-changed

    • the calls/items/value response's property type/format changed from string/ to object/ for status 200

      response-property-type-changed

    • the calls/items/data response's property type/format changed from array/ to string/ for status 200

      response-property-type-changed

    • the calls/items/to response's property type/format changed from array/ to string/ for status 200

      response-property-type-changed

    • the calls/items/value response's property type/format changed from object/ to string/ for status 200

      response-property-type-changed

    • the endpoint scheme security BearerAuth was added to the API

      api-security-added

    • the endpoint scheme security BearerAuth. was removed from the API

      api-security-removed