Deposit collateral for ETH
async depositETHCollateral()
async depositETHCollateral()
Depositing collateral for ETH loan you should use:
The contractAddress and amount information you will get after getting a successful response from Single Loan, while the walletAddress is the address of the user.
const response = await this.newBorrowingService.transferEthereum(
loan.creditLine.contractAddress,
loan.collateralInfo.amount,
walletAddress
)
Last updated