All Loans
Last updated
Last updated
async viewLoanList()
To be able to see all the loans that the user has created you should use
token:string
– is the token you will get from the authentication
borrowerAddress:string
- is the address of the user
sort:string
– can be either “ASC” or “DESC”. ASC is ascending order and DESC is descending order.
limit:number
– the number of the data you want to get
offset:number
– the number from where you want to start the data