Locked Collateral

async locekdAssetValue()

To check how much locked collateral you have inside the credit line you should use:

Both the ethAddress and contractAddress parameters you will get after a successful response from Single Loan

await this.newBorrowingService.lockedAssetValue(loan.collateral.ethAddress, loan.contractAddress)

Last updated