async signLoanRequest()

Before creating a Loan Request, you should be able to sign the loan.

  • loanData:interface – is the already explained interface above
  • walletAddress:string - is the address of the user
const response = await this.newBorrowingService.signLoanRequest(
    loanData, 
    walletAddress
)


loanData.signature = response;