Borrow Rate
At any point in time one may query the contract to get the current borrow rate per block.
function borrowRatePerBlock() returns (uint)
- RETURN: The current borrow rate as an unsigned integer, scaled by 1e18.
FBep20 fToken = FToken(0x3FDA...);
uint borrowRateMantissa = fToken.borrowRatePerBlock();
const fToken = FBnb.at(0x3FDB...);
const borrowRate = (await fToken.methods.borrowRatePerBlock().call()) / 1e18;
Last modified 2yr ago