Total Supply

Total Supply is the number of tokens currently in circulation in an fToken market. It is part of the EIP-20 interface of the fToken contract.

FBep20 / FBnb

function totalSupply() returns (uint)
  • RETURN: The total number of tokens in circulation for the market

Solidity

FBep20 fToken = FToken(0x3FDA...);
uint tokens = fToken.totalSupply();

Web3 1.0

const fToken = FBnb.at(0x3FDB...);
const tokens = (await fToken.methods.totalSupply().call());

Last updated