@FunctionalInterface
public interface TransactionConverter
| Modifier and Type | Method and Description |
|---|---|
Transaction |
toTransaction(RawTransaction rawTransaction)
Converts an Exonum raw transaction to an executable transaction of some service.
|
Transaction toTransaction(RawTransaction rawTransaction)
rawTransaction - a raw transaction to be convertedjava.lang.IllegalArgumentException - if the raw transaction is malformed,
or a transaction of an unknown servicejava.lang.NullPointerException - if the raw transaction is nullCopyright © 2019 Exonum. All rights reserved.