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

block

The block number of the transaction

from_type

Either user (normal send/receive TX) or contract (issues/stakes etc.)

memo

A short message describing the purpose of the transaction

sender

The Hive/Steem username that sent/issued the tokens

symbol

The short symbol for the token being sent/received, e.g.

timestamp

The time the transaction occured, as a UTC-formatted string 2019-07-04T06:18:09.000Z

to

The Hive/Steem username that received the tokens

to_type

Either user (normal send/receive TX) or contract (issues/stakes etc.)

txid

The unique transaction ID of the transaction, as a string

quantity

The amount of tokens that were sent/issued etc.

raw_data

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