Borrow Balance
Last updated
Was this helpful?
Last updated
Was this helpful?
A user who borrows assets from the protocol is subject to accumulated interest based on the current . Interest is accumulated every block and integrations may use this function to obtain the current value of a user's borrow balance with interest.
SErc20 / SEther
account
: The account which borrowed the assets.
RETURN
: The user's current borrow balance (with interest) in units of the underlying asset.
Solidity
Web3 1.0