privex.steemengine.objects.TokenMetadata¶
- class TokenMetadata(url: str = '', icon: str = '', desc: str = '', raw_data: ~typing.Union[dict, ~privex.helpers.collections.DictObject] = <factory>)[source]¶
Represents the
metadatafield on a token object on SteemEngine- __init__(url: str = '', icon: str = '', desc: str = '', raw_data: ~typing.Union[dict, ~privex.helpers.collections.DictObject] = <factory>) None¶
Methods
__init__([url, icon, desc, raw_data])from_dict(obj)from_list(obj_list)get(key[, fallback])Attributes
descA long description explaining the token
iconA full URL to the icon for the token
urlThe official website for the token
raw_dataThe raw, unmodified data that was passed as kwargs, as a dictionary