Umi — API References - v1.3.0
    Preparing search index...

    Interface TransactionFactoryInterface

    Defines the interface for a transaction factory. It allows us to create, serialize and deserialize transactions and their messages.

    interface TransactionFactoryInterface {
        create(input: TransactionInput): Transaction;
        deserialize(serializedTransaction: SerializedTransaction): Transaction;
        deserializeMessage(
            serializedMessage: SerializedTransactionMessage,
        ): TransactionMessage;
        serialize(transaction: Transaction): SerializedTransaction;
        serializeMessage(message: TransactionMessage): SerializedTransactionMessage;
    }
    Index

    Methods