privex.steemengine.objects.SEBalance

class SEBalance(account: str, symbol: str, balance: ~typing.Union[~decimal.Decimal, float, str], _seng_instance: privex.steemengine.SteemEngineToken.SteemEngineToken = None, raw_data: ~typing.Union[dict, ~privex.helpers.collections.DictObject] = <factory>)[source]

Represents an account token balance on SteemEngine

__init__(account: str, symbol: str, balance: ~typing.Union[~decimal.Decimal, float, str], _seng_instance: privex.steemengine.SteemEngineToken.SteemEngineToken = None, raw_data: ~typing.Union[dict, ~privex.helpers.collections.DictObject] = <factory>) None

Methods

__init__(account, symbol, balance[, ...])

from_dict(obj[, seng_ins])

from_list(obj_list[, seng_ins])

get(key[, fallback])

set_seng_instance(seng_ins)

Attributes

token

Returns a Token instance for the symbol on SteemEngine

account

The Hive/Steem username whom this balance belongs to

symbol

The short symbol for the token held, e.g.

balance

The amount of symbol that account holds

raw_data

The raw, unmodified data that was passed as kwargs, as a dictionary