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

Hierarchy

  • TransactionFactoryInterface

Methods

  • Creates a new transaction from a given input.

    Parameters

    Returns Transaction

  • Deserializes a transaction.

    Parameters

    • serializedTransaction: Uint8Array

    Returns Transaction

  • Deserializes a transaction message.

    Parameters

    • serializedMessage: Uint8Array

    Returns TransactionMessage

  • Serializes a transaction.

    Parameters

    Returns Uint8Array

  • Serializes a transaction message.

    Parameters

    Returns Uint8Array

Generated using TypeDoc