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/v2/accounts/{account}/assets/{asset}/draw
Request
- Base URLhttps://api.sprinter.tech
- URLhttps://api.sprinter.tech/credit/v2/accounts/{account}/assets/{asset}/draw
- Authnone declared
Path parameters
accountstring required
User account address (borrower)
assetstring required
Credit asset symbol (e.g. usdc, eure)
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
endpoint added
- info