TransactionFactory
TransactionFactory
⚓︎
- symbolchain.nem.TransactionFactory.TransactionFactory
-
Factory for creating NEM transactions.
__init__(network, type_rule_overrides=None)
⚓︎
- symbolchain.nem.TransactionFactory.TransactionFactory.__init__
-
Creates a factory for the specified network.
attach_signature(transaction, signature)
staticmethod
⚓︎
- symbolchain.nem.TransactionFactory.TransactionFactory.attach_signature
-
Attaches a signature to a transaction.
create(transaction_descriptor, autosort=True)
⚓︎
- symbolchain.nem.TransactionFactory.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.
deserialize(payload)
staticmethod
⚓︎
- symbolchain.nem.TransactionFactory.TransactionFactory.deserialize
-
Deserializes a transaction from a binary payload.
lookup_transaction_name(transaction_type, transaction_version)
staticmethod
⚓︎
- symbolchain.nem.TransactionFactory.TransactionFactory.lookup_transaction_name
-
Looks up the friendly name for the specified transaction.
to_non_verifiable_transaction(transaction)
staticmethod
⚓︎
- symbolchain.nem.TransactionFactory.TransactionFactory.to_non_verifiable_transaction
-
Converts a transaction to a non-verifiable transaction.