privex.steemengine.SteemEngineToken.SteemEngineToken.get_token

SteemEngineToken.get_token(symbol) Optional[Token][source]

Get the token object for an individual token.

Example:

>>> token = SteemEngineToken().get_token('SGTK'):
>>> print(token.issuer, token.name)
someguy123 SomeToken
Parameters

symbol (str) – Symbol of the token to lookup, such as ‘ENG’

Return Token token_data

An object containing data about the token (see below)

A Token object can be accessed either via attributes token.issuer or as a dict.

They contain the fields below:

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

If token not found, None is returned.