Class Transactions

java.lang.Object
io.mokamint.node.Transactions

public abstract class Transactions extends Object
Providers of transaction objects.
  • Method Details

    • of

      public static Transaction of(byte[] bytes)
      Yields a new transaction object.
      Parameters:
      bytes - the bytes of the transaction
      Returns:
      the transaction object
    • from

      public static Transaction from(io.hotmoka.marshalling.api.UnmarshallingContext context) throws IOException
      Unmarshals a transaction from the given context.
      Parameters:
      context - the context
      Returns:
      the transaction
      Throws:
      IOException - if the transaction cannot be unmarshalled