Credit
Build transaction calls to draw credit
Changed onReturns 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 URLhttps://api.sprinter.tech
- URLhttps://api.sprinter.tech/credit/accounts/{account}/draw
- Authnone 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
ApiKeyAuthwas removed from the API - info
the endpoint scheme security
BearerAuthwas removed from the API
- info
- breaking
the
//response's property type changed fromstringtoarrayfor status - breaking
the
//response's property type changed fromstringtoarrayfor status - breaking
the
//response's property type changed fromstringtoobjectfor status
- breaking