privex.steemengine.SteemEngineToken.SteemEngineToken.list_tokens

SteemEngineToken.list_tokens(limit=1000, offset=0) List[Token][source]

Returns a list of all tokens as Token objects.

Example:

>>> for t in SteemEngineToken().list_tokens():
...     print(f"Token {t.symbol} has a max supply of {t.max_supply} and issued by {t.issuer}")
Token ENG has a max supply of 9007199254740991 and issued by null
Token STEEMP has a max supply of 1000000000000 and issued by steem-peg
Token BTCP has a max supply of 1000000000000 and issued by btcpeg
Token LTCP has a max supply of 1000000000000 and issued by ltcp
Parameters
  • limit – Amount of token objects to retrieve

  • offset – Amount of token objects to skip (for pagination)

Return List<Token> tokens

Each Token list item formatted like this:

{
    issuer:str, 
    symbol:str,
    name:str,
    metadata:str,
    precision:int,
    maxSupply: int,
    supply: int,
    circulatingSupply:int
}