use of io.nem.sdk.model.transaction.Transaction in project nem2-sdk-java by nemtech.
the class TransactionHttpTest method getTransaction.
@Test
public void getTransaction() throws ExecutionException, InterruptedException {
Transaction transaction = transactionHttp.getTransaction(transactionHash).toFuture().get();
assertEquals(TransactionType.TRANSFER.getValue(), transaction.getType().getValue());
assertEquals(transactionHash, transaction.getTransactionInfo().get().getHash().get());
}
Aggregations