Total Borrow

Total Borrow is the amount of underlying assets currently loaned out by the market, and the amount upon which interest is accumulated to suppliers of the market.

FBep20 / FBnb

function totalBorrowsCurrent() returns (uint)
  • RETURN: The quantity of underlying asset owned by the contract

Solidity

FBep20 fToken = FToken(0x3FDA...);
uint borrows = fToken.totalBorrowsCurrent();

Web3 1.0

const fToken = FBnb.at(0x3FDB...);
const borrows = (await fToken.methods.totalBorrowsCurrent().call());

Last updated