Algorand indexer client to query
token pair of the loan
token pair info
collateral pool info
borrow pool info
conversion rate from collateral to borrow asset
Optional
nextToken: stringtoken for retrieving next escrows
Optional
round: numberresults for specified round
Generated using TypeDoc
Returns information regarding the given loans. Must pass the token pair info, collateral pool info and conversion that you are using.
Returns
Promise<{ loans: LoanInfo[], nextToken?: string}> object containing loan infos and next token