privex.steemengine.objects.SETransaction¶
- class SETransaction(block: int = 0, txid: ~typing.Optional[str] = None, symbol: ~typing.Optional[str] = None, sender: ~typing.Optional[str] = None, from_type: ~typing.Optional[str] = None, to: ~typing.Optional[str] = None, to_type: ~typing.Optional[str] = None, memo: ~typing.Optional[str] = None, timestamp: ~typing.Optional[str] = None, quantity: ~decimal.Decimal = <factory>, raw_data: ~typing.Union[dict, ~privex.helpers.collections.DictObject] = <factory>)[source]¶
Represents a standard transaction from account history on SteemEngine
- __init__(block: int = 0, txid: ~typing.Optional[str] = None, symbol: ~typing.Optional[str] = None, sender: ~typing.Optional[str] = None, from_type: ~typing.Optional[str] = None, to: ~typing.Optional[str] = None, to_type: ~typing.Optional[str] = None, memo: ~typing.Optional[str] = None, timestamp: ~typing.Optional[str] = None, quantity: ~decimal.Decimal = <factory>, raw_data: ~typing.Union[dict, ~privex.helpers.collections.DictObject] = <factory>) None¶
Methods
__init__([block, txid, symbol, sender, ...])from_dict(obj)from_list(obj_list)get(key[, fallback])Attributes
blockThe block number of the transaction
from_typeEither
user(normal send/receive TX) orcontract(issues/stakes etc.)memoA short message describing the purpose of the transaction
senderThe Hive/Steem username that sent/issued the tokens
symbolThe short symbol for the token being sent/received, e.g.
timestampThe time the transaction occured, as a UTC-formatted string
2019-07-04T06:18:09.000ZtoThe Hive/Steem username that received the tokens
to_typeEither
user(normal send/receive TX) orcontract(issues/stakes etc.)txidThe unique transaction ID of the transaction, as a string
quantityThe amount of tokens that were sent/issued etc.
raw_dataThe raw, unmodified data that was passed as kwargs, as a dictionary