java.lang.Object
io.mokamint.node.Transactions
Providers of transaction objects.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Transactionfrom(io.hotmoka.marshalling.api.UnmarshallingContext context) Unmarshals a transaction from the given context.static Transactionof(byte[] bytes) Yields a new transaction object.
-
Method Details
-
of
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
-