• Returns information regarding the given loan.

    Returns

    Promise loan info

    Parameters

    • indexerClient: default

      Algorand indexer client to query

    • tokenPair: TokenPair

      token pair of the loan

    • oracle: lendV1.Oracle

      oracle to query for prices

    • escrowAddr: string

      escrow address to query about

    • Optional round: number

      results for specified round

    Returns Promise<lendV1.LoanInfo>

Generated using TypeDoc