TransactionFactory⚓︎
TransactionFactory
⚓︎
- TransactionFactory
-
Factory for creating Symbol transactions.
__init__(network, type_rule_overrides=None)
⚓︎
- TransactionFactory.__init__
-
Creates a factory for the specified network.
attach_signature(transaction, signature)
staticmethod
⚓︎
- TransactionFactory.attach_signature
-
Attaches a signature to a transaction.
create(transaction_descriptor, autosort=True)
⚓︎
- TransactionFactory.create
-
Creates a transaction from a transaction descriptor. When autosort is set (default), descriptor arrays requiring ordering will be automatically sorted. When unset, descriptor arrays will be presumed to be already sorted.
create_embedded(transaction_descriptor, autosort=True)
⚓︎
- TransactionFactory.create_embedded
-
Creates an embedded transaction from a transaction descriptor. When autosort is set (default), descriptor arrays requiring ordering will be automatically sorted. When unset, descriptor arrays will be presumed to be already sorted.
deserialize(payload)
staticmethod
⚓︎
- TransactionFactory.deserialize
-
Deserializes a transaction from a binary payload.
deserialize_embedded(payload)
staticmethod
⚓︎
- TransactionFactory.deserialize_embedded
-
Deserializes an embedded transaction from a binary payload.
lookup_transaction_name(transaction_type, transaction_version)
staticmethod
⚓︎
- TransactionFactory.lookup_transaction_name
-
Looks up the friendly name for the specified transaction.