Protocol Interaction (Read)
This section is under construction, many query methods are included in the canister but not yet implemented in these docs.
View Max Borrowable amount
Returns the maximum borrowable amount (in USD) for the caller.
View Account Liquidity of Collateral Plus Borrows
Returns the account liquidity (in USD) of the caller. The account liquidity includes assets declared as collateral minus borrows. It will either be a negative number, zero, or bigger than zero.
View Balance for a Market
Returns the market balance of the market token for user _principal. You can also query the balance expressed in units of the underlying asset by calling:
View Borrow Balance for a Market
Returns the borrow market balance of the market token for user _principal. You can also query the balance expressed in USD by calling:
Last updated