Fortress
Search…
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

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

Solidity

1
FBep20 fToken = FToken(0x3FDA...);
2
uint tokens = fToken.totalSupply();
Copied!

Web3 1.0

1
const fToken = FBnb.at(0x3FDB...);
2
const tokens = (await fToken.methods.totalSupply().call());
Copied!
Last modified 9mo ago