Supply Rate

At any point in time one may query the contract to get the current supply rate per block. The supply rate is derived from the borrow rate, reserve factor and the amount of total borrows.

AErc20 / CEther

function supplyRatePerBlock() returns (uint)
  • RETURN: The current supply rate as an unsigned integer, scaled by 1e18.


AErc20 aToken = AToken(0x3FDA...);
uint supplyRateMantissa = aToken.supplyRatePerBlock();

Web3 1.0

const aToken =;
const supplyRate = (await aToken.methods.supplyRatePerBlock().call()) / 1e18;

Last updated