Unlocked Collateral

async unlocekdAssetValue()

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 successfull response from Single Loan

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

Last updated