Fortress
Search…
Fortress Credit and Lending
FTS Tokenomics
Supplying Assets
Borrowing Assets
FAI Stablecoin (Depreciated)
Interest Rates
Governance
Forced Liquidations
Smart Contracts
Guides
Road Map
Protocol Documentation
Getting Started
fTokens
Mint
Redeem
Redeem Underlying
Borrow
Repay Borrow
Repay Borrow Behalf
Liquidate Borrow
Key Events
Error Codes
Exchange Rate
Get Cash
Total Borrow
Borrow Balance
Borrow Rate
Total Supply
Underlying Balance
Supply Rate
Reserve Factor
Unitroller
Security
Powered By
GitBook
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());
Previous
Borrow Rate
Next
Underlying Balance
Last modified
1yr ago
Copy link
Outline
FBep20 / FBnb
Solidity
Web3 1.0