Get Cash

Cash is the amount of underlying balance owned by an fToken contract. One may query the total amount of cash currently available to this market.

FBep20 / FBnb

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


FBep20 fToken = FToken(0x3FDA...);
uint cash = fToken.getCash();

Web3 1.0

const fToken =;
const cash = (await fToken.methods.getCash().call());

Last updated