/
/Untitled API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
  • Sources
Checked 38m ago · Updated 2w agoView markdown
Credit23
  • getBuild transaction calls to draw credit
  • getGet user credit information
  • getCalldata to lock asset as collateral
  • getGet operator status for an account
  • getBuild transaction calls to disable auto top-up
  • getBuild transaction calls to enable auto top-up
  • getCall data to repay credit debt
  • getCall data to unlock collateral
  • getGet collateral asset details
  • getClaim position from earn vault
  • getUnwrap position from earn vault
  • getWrap asset into earn vault
  • getGet credit protocol configuration
  • getGet collateral asset details
  • getGet operator status for an account
  • getCalldata to lock asset as collateral
  • getCall data to unlock collateral
  • getBuild transaction calls to draw credit
  • getCall data to repay credit debt
  • getBuild transaction calls to enable auto top-up
  • getBuild transaction calls to disable auto top-up
  • getGet auto top-up config
  • getUpdate auto top-up config
Liquidity6
  • gethealth check
  • getReturns solver address
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