Get FIF List

async getFixedIncomeFundList()

To be able to see all the Fixed Income Fund that the user has created you should use

  • token:string– is the token you will get from the authentication

  • lenderAddress: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

limit and offset are mostly used for pagination. This means that offset most of the time will equal 0 and limit 100.

const response = await this.LendingService.getFIF({
    token, lenderAddress, limit, offset, order
})

Last updated