Interface TransactionFactoryInterface
Hierarchy
- TransactionFactoryInterface
Methods
deserialize
- deserialize(serializedTransaction: Uint8Array): Transaction
-
Parameters
-
serializedTransaction: Uint8Array
deserializeMessage
- deserializeMessage(serializedMessage: Uint8Array): TransactionMessage
-
Parameters
-
serializedMessage: Uint8Array
serialize
- serialize(transaction: Transaction): Uint8Array
-
Returns Uint8Array
serializeMessage
- serializeMessage(message: TransactionMessage): Uint8Array
-
Returns Uint8Array
Defines the interface for a transaction factory. It allows us to create, serialize and deserialize transactions and their messages.