Total Supply

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

OErc20 / OEther

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


OErc20 oToken = OToken(0x3FDA...);
uint tokens = oToken.totalSupply();

Web3 1.0

const oToken =;
const tokens = (await oToken.methods.totalSupply().call());

Last updated